mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
23397e603c
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
25 lines
428 B
TypeScript
25 lines
428 B
TypeScript
import { defineBuildConfig } from 'unbuild'
|
|
|
|
export default defineBuildConfig({
|
|
declaration: true,
|
|
rollup: {
|
|
inlineDependencies: true,
|
|
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'
|
|
]
|
|
})
|