Merge pull request #3262 from TheLarkInn/patch-1

fix(wasm): fix resolved default extensions
This commit is contained in:
Sébastien Chopin 2018-04-24 09:23:48 +02:00 committed by GitHub
commit 7d82fadf43
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' 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
}, },