fix(webpack): transpile vue-demi (#5721)

This commit is contained in:
Daniel Roe 2022-07-06 19:23:05 +01:00 committed by GitHub
parent 00cd260804
commit 8ffe2a33a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -150,7 +150,8 @@ export function baseTranspile (ctx: WebpackConfigContext) {
const transpile = [
/\.vue\.js/i, // include SFCs in node_modules
/consola\/src/
/consola\/src/,
/vue-demi/
]
for (let pattern of options.build.transpile) {