mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 07:32:01 +00:00
fix(webpack): transpile app directory (#19773)
This commit is contained in:
parent
633f781d6f
commit
5a1cfa8b66
@ -158,7 +158,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/
|
/vue-demi/,
|
||||||
|
/(^|\/)nuxt\/(dist\/)?app($|\/)/
|
||||||
]
|
]
|
||||||
|
|
||||||
for (let pattern of options.build.transpile) {
|
for (let pattern of options.build.transpile) {
|
||||||
|
Loading…
Reference in New Issue
Block a user