Nuxt/packages/nuxi/build.config.ts

24 lines
426 B
TypeScript
Raw Normal View History

import { defineBuildConfig } from 'unbuild'
2021-04-09 13:48:39 +00:00
export default defineBuildConfig({
declaration: true,
2021-04-09 15:52:45 +00:00
inlineDependencies: true,
emitCJS: false,
cjsBridge: true,
2021-04-09 13:48:39 +00:00
entries: [
'src/index'
],
externals: [
2021-04-16 20:05:49 +00:00
'@nuxt/kit',
'@nuxt/schema',
'fsevents',
// TODO: Fix rollup/unbuild issue
'node:buffer',
'node:path',
'node:child_process',
'node:process',
'node:path',
'node:os'
2021-04-09 13:48:39 +00:00
]
})