Nuxt/packages/bridge/build.config.ts

14 lines
279 B
TypeScript
Raw Normal View History

2021-09-05 21:21:33 +00:00
import { defineBuildConfig } from 'unbuild'
export default defineBuildConfig({
declaration: true,
emitCJS: false,
2021-09-05 21:21:33 +00:00
entries: [
2021-09-05 22:01:33 +00:00
'src/module',
{ input: 'src/runtime/', outDir: 'dist/runtime', format: 'esm', declaration: true }
],
externals: [
'webpack'
2021-09-05 21:21:33 +00:00
]
})