-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsdown.config.ts
More file actions
40 lines (39 loc) · 824 Bytes
/
Copy pathtsdown.config.ts
File metadata and controls
40 lines (39 loc) · 824 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import { defineConfig } from "tsdown";
export default defineConfig({
entry: [
"./src/index",
"./src/shared",
"./src/module",
"./src/config",
"./src/context",
"./src/runtime",
{
migrations: "./src/migrations",
"migrations/task": "./src/migrations/task",
},
"./src/utils",
"./src/meta",
{
"drivers/*": ["./src/drivers/*"],
"dialects/*": ["./src/dialects/*"],
"middleware/*": ["./src/middleware/*"],
"plugins/*": ["./src/plugins/*"],
"plugins/legacy/*": ["./src/plugins/legacy/*"],
},
],
deps: {
neverBundle: [/^(virtual:|#)?nitro-drizzle\//],
},
dts: {
tsgo: true,
},
unbundle: true,
unused: true,
publint: true,
attw: {
profile: "esm-only",
},
exports: false,
clean: true,
sourcemap: true,
});