2021-04-21 15:10:53 +00:00
|
|
|
import { defineBuildConfig } from 'unbuild'
|
2021-04-09 13:48:39 +00:00
|
|
|
|
2021-04-21 15:10:53 +00:00
|
|
|
export default defineBuildConfig({
|
2021-09-21 17:07:24 +00:00
|
|
|
declaration: true,
|
2021-04-09 15:52:45 +00:00
|
|
|
inlineDependencies: true,
|
2021-10-02 16:01:17 +00:00
|
|
|
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',
|
2021-11-21 16:14:46 +00:00
|
|
|
'@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
|
|
|
]
|
2021-04-21 15:10:53 +00:00
|
|
|
})
|