fix(wasm): fix resolved default extensions

Fixes #3261
This commit is contained in:
Sean Larkin 2018-04-23 23:58:01 -07:00 committed by GitHub
parent db572a2f35
commit d26a4169bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -262,7 +262,7 @@ export default class WebpackBaseConfig {
hints: this.options.dev ? false : 'warning'
},
resolve: {
extensions: ['.js', '.json', '.vue', '.jsx'],
extensions: ['.wasm', '.mjs', '.js', '.json', '.vue', '.jsx'],
alias: this.alias(),
modules: webpackModulesDir
},