Nuxt/packages/nuxi/build.config.ts

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'
]
})