Nuxt/packages/bridge/build.config.ts

13 lines
239 B
TypeScript
Raw Normal View History

2021-09-05 21:21:33 +00:00
import { defineBuildConfig } from 'unbuild'
export default defineBuildConfig({
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' }
],
externals: [
'webpack'
2021-09-05 21:21:33 +00:00
]
})