-
-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathbuild.config.ts
More file actions
49 lines (48 loc) · 1.07 KB
/
build.config.ts
File metadata and controls
49 lines (48 loc) · 1.07 KB
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
import { defineBuildConfig } from 'unbuild'
export default defineBuildConfig({
declaration: true,
rollup: {
emitCJS: true,
},
entries: [
{ input: 'src/content', name: 'content' },
{ input: 'src/cli', name: 'cli' },
],
externals: [
'h3',
'yoga-wasm-web',
'nitropack',
'@nuxt/content',
'zod',
'nuxt',
'#app',
'nuxt/app',
'h3',
'nitropack',
'@vue/runtime-core',
'#og-image/components',
'sharp',
'unstorage',
'unstorage/drivers/fs',
'unstorage/drivers/fs-lite',
'consola/utils',
'#nitro-internal-virtual/storage',
// @nuxt/fonts integration - fontless is only used when @nuxt/fonts is present
'fontless',
'unifont',
'tailwindcss',
// unocss (optional - only used when @unocss/nuxt is present)
'@unocss/core',
'@unocss/config',
'unconfig',
'unconfig-core',
'@quansync/fs',
'quansync',
'quansync/macro',
// lightningcss for CSS processing
'lightningcss',
// oxc for AST-based post-compilation patching
'oxc-walker',
'oxc-parser',
],
})