Nuxt/packages/nuxi/build.config.ts

27 lines
462 B
TypeScript
Raw Normal View History

import { defineBuildConfig } from 'unbuild'
2021-04-09 13:48:39 +00:00
export default defineBuildConfig({
declaration: true,
rollup: {
2022-04-13 18:54:20 +00:00
inlineDependencies: true
},
2021-04-09 13:48:39 +00:00
entries: [
'src/cli',
2021-04-09 13:48:39 +00:00
'src/index'
],
externals: [
2021-04-16 20:05:49 +00:00
'@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'
2021-04-09 13:48:39 +00:00
]
})