mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix(webpack): resolve .wasm
extension with lower priority (#10676)
This commit is contained in:
parent
2dee162360
commit
dd3ed75168
@ -239,7 +239,7 @@ export default class WebpackBaseConfig {
|
||||
|
||||
return {
|
||||
resolve: {
|
||||
extensions: ['.wasm', '.mjs', '.cjs', '.js', '.json', '.vue', '.jsx'],
|
||||
extensions: ['.mjs', '.cjs', '.js', '.json', '.vue', '.jsx', '.wasm'],
|
||||
alias: this.alias(),
|
||||
modules: webpackModulesDir,
|
||||
plugins: resolvePlugins
|
||||
|
Loading…
Reference in New Issue
Block a user