mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-04-22 04:18:33 -05:00
fix: .wasm extension should have lower priority when resolving modules
in line with https://github.com/webpack/webpack/pull/8448 fixes #3023
This commit is contained in:
@@ -38,7 +38,7 @@ module.exports = (api, options) => {
|
||||
|
||||
webpackConfig.resolve
|
||||
.extensions
|
||||
.merge(['.wasm', '.mjs', '.js', '.jsx', '.vue', '.json'])
|
||||
.merge(['.mjs', '.js', '.jsx', '.vue', '.json', '.wasm'])
|
||||
.end()
|
||||
.modules
|
||||
.add('node_modules')
|
||||
|
||||
Reference in New Issue
Block a user