mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 07:32:01 +00:00
24 lines
426 B
TypeScript
24 lines
426 B
TypeScript
import { defineBuildConfig } from 'unbuild'
|
|
|
|
export default defineBuildConfig({
|
|
declaration: true,
|
|
inlineDependencies: true,
|
|
emitCJS: false,
|
|
cjsBridge: true,
|
|
entries: [
|
|
'src/index'
|
|
],
|
|
externals: [
|
|
'@nuxt/kit',
|
|
'@nuxt/schema',
|
|
'fsevents',
|
|
// TODO: Fix rollup/unbuild issue
|
|
'node:buffer',
|
|
'node:path',
|
|
'node:child_process',
|
|
'node:process',
|
|
'node:path',
|
|
'node:os'
|
|
]
|
|
})
|