make babel plugin run after commonjs one added by vite
This commit is contained in:
parent
16918ddb7d
commit
7dce579ac3
1 changed files with 1 additions and 0 deletions
|
@ -92,6 +92,7 @@ async function buildLegacyChunk(root, chunkName, code) {
|
|||
]
|
||||
]
|
||||
});
|
||||
babelPlugin.enforce = "post";
|
||||
const bundle = await build({
|
||||
root,
|
||||
configFile: false,
|
||||
|
|
Reference in a new issue