Nuxt/packages/nuxi/build.config.ts
Anthony Fu 452a7730e0
feat(nuxi): init nuxi test support (#3307)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-16 13:34:27 +01:00

27 lines
468 B
TypeScript

import { defineBuildConfig } from 'unbuild'
export default defineBuildConfig({
declaration: true,
rollup: {
inlineDependencies: true,
cjsBridge: true
},
entries: [
'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'
]
})