mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
fix(webpack): transpile rest of nuxt runtime directories (#19936)
This commit is contained in:
parent
a96451d2df
commit
99ac1d5976
@ -159,7 +159,7 @@ export function baseTranspile (ctx: WebpackConfigContext) {
|
|||||||
/\.vue\.js/i, // include SFCs in node_modules
|
/\.vue\.js/i, // include SFCs in node_modules
|
||||||
/consola\/src/,
|
/consola\/src/,
|
||||||
/vue-demi/,
|
/vue-demi/,
|
||||||
/(^|\/)nuxt\/(dist\/)?app($|\/)/
|
/(^|\/)nuxt\/(dist\/)?(app|[^/]+\/runtime)($|\/)/
|
||||||
]
|
]
|
||||||
|
|
||||||
for (let pattern of options.build.transpile) {
|
for (let pattern of options.build.transpile) {
|
||||||
|
Loading…
Reference in New Issue
Block a user