mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-31 15:50:32 +00:00
fix(webpack): transpile vue-demi
(#5721)
This commit is contained in:
parent
00cd260804
commit
8ffe2a33a7
@ -150,7 +150,8 @@ export function baseTranspile (ctx: WebpackConfigContext) {
|
|||||||
|
|
||||||
const transpile = [
|
const transpile = [
|
||||||
/\.vue\.js/i, // include SFCs in node_modules
|
/\.vue\.js/i, // include SFCs in node_modules
|
||||||
/consola\/src/
|
/consola\/src/,
|
||||||
|
/vue-demi/
|
||||||
]
|
]
|
||||||
|
|
||||||
for (let pattern of options.build.transpile) {
|
for (let pattern of options.build.transpile) {
|
||||||
|
Loading…
Reference in New Issue
Block a user