-
Notifications
You must be signed in to change notification settings - Fork 107
Expand file tree
/
Copy pathbuild.config.ts
More file actions
55 lines (54 loc) · 1016 Bytes
/
build.config.ts
File metadata and controls
55 lines (54 loc) · 1016 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import { defineBuildConfig } from 'unbuild'
export default defineBuildConfig({
externals: [
'@nuxt/kit',
'@nuxthub/core',
'nitropack',
'drizzle-orm',
'drizzle-kit',
'./db/lib',
'db/lib'
],
entries: [
'src/module',
// DB
{
input: 'src/db/lib/',
outDir: 'dist/db/lib',
builder: 'mkdist'
},
{
input: 'src/db/runtime/',
outDir: 'dist/db/runtime',
builder: 'mkdist'
},
// KV
{
input: 'src/kv/runtime/',
outDir: 'dist/kv/runtime',
builder: 'mkdist'
},
// Blob
{
input: 'src/blob/lib/',
outDir: 'dist/blob/lib',
builder: 'mkdist'
},
{
input: 'src/blob/runtime/',
outDir: 'dist/blob/runtime',
builder: 'mkdist'
},
{
input: 'src/blob/types/',
outDir: 'dist/blob/types',
builder: 'mkdist'
},
// Cache
{
input: 'src/cache/runtime/',
outDir: 'dist/cache/runtime',
builder: 'mkdist'
}
]
})