mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-25 05:37:12 +00:00
27 lines
462 B
TypeScript
27 lines
462 B
TypeScript
import { defineBuildConfig } from 'unbuild'
|
|
|
|
export default defineBuildConfig({
|
|
declaration: true,
|
|
rollup: {
|
|
inlineDependencies: 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'
|
|
]
|
|
})
|