mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 23:52:06 +00:00
fix(webpack): transpile ufo (#8846)
This commit is contained in:
parent
d58c4f7299
commit
ba44b0f9ca
@ -73,7 +73,7 @@ export default class WebpackBaseConfig {
|
|||||||
return [
|
return [
|
||||||
/\.vue\.js/i, // include SFCs in node_modules
|
/\.vue\.js/i, // include SFCs in node_modules
|
||||||
/consola\/src/,
|
/consola\/src/,
|
||||||
/@nuxt[/\\]ufo/, // exports modern syntax for browser field
|
/ufo/, // exports modern syntax for browser field
|
||||||
...this.normalizeTranspile({ pathNormalize: true })
|
...this.normalizeTranspile({ pathNormalize: true })
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user