mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-31 07:40:33 +00:00
Merge pull request #3262 from TheLarkInn/patch-1
fix(wasm): fix resolved default extensions
This commit is contained in:
commit
7d82fadf43
@ -262,7 +262,7 @@ export default class WebpackBaseConfig {
|
|||||||
hints: this.options.dev ? false : 'warning'
|
hints: this.options.dev ? false : 'warning'
|
||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
extensions: ['.js', '.json', '.vue', '.jsx'],
|
extensions: ['.wasm', '.mjs', '.js', '.json', '.vue', '.jsx'],
|
||||||
alias: this.alias(),
|
alias: this.alias(),
|
||||||
modules: webpackModulesDir
|
modules: webpackModulesDir
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user