mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 23:52:06 +00:00
28 lines
483 B
TypeScript
28 lines
483 B
TypeScript
import { defineBuildConfig } from 'unbuild'
|
|
|
|
export default defineBuildConfig({
|
|
declaration: true,
|
|
rollup: {
|
|
inlineDependencies: true,
|
|
cjsBridge: true
|
|
},
|
|
entries: [
|
|
'src/cli',
|
|
'src/index'
|
|
],
|
|
externals: [
|
|
'@nuxt/kit',
|
|
'@nuxt/schema',
|
|
'@nuxt/test-utils',
|
|
'fsevents',
|
|
// TODO: Fix rollup/unbuild issue
|
|
'node:url',
|
|
'node:buffer',
|
|
'node:path',
|
|
'node:child_process',
|
|
'node:process',
|
|
'node:path',
|
|
'node:os'
|
|
]
|
|
})
|