fix(bridge): generate `dist/runtime`

This commit is contained in:
Pooya Parsa 2021-09-06 00:01:33 +02:00
parent 0b3271d275
commit 9c14b886e8
1 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,8 @@ import { defineBuildConfig } from 'unbuild'
export default defineBuildConfig({ export default defineBuildConfig({
entries: [ entries: [
'src/module' 'src/module',
{ input: 'src/runtime/', outDir: 'dist/runtime', format: 'esm' }
], ],
externals: [ externals: [
'webpack' 'webpack'