mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +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 [
|
||||
/\.vue\.js/i, // include SFCs in node_modules
|
||||
/consola\/src/,
|
||||
/@nuxt[/\\]ufo/, // exports modern syntax for browser field
|
||||
/ufo/, // exports modern syntax for browser field
|
||||
...this.normalizeTranspile({ pathNormalize: true })
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user