Skip to content

Commit

Permalink
feat: add support for loading WebAssembly and ES Modules (#2819)
Browse files Browse the repository at this point in the history
  • Loading branch information
ScreamZ authored and haoqunjiang committed Nov 26, 2018
1 parent 42c51c0 commit 2db8d18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vue/cli-service/lib/config/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module.exports = (api, options) => {

webpackConfig.resolve
.extensions
.merge(['.js', '.jsx', '.vue', '.json'])
.merge(['.wasm', '.mjs', '.js', '.jsx', '.vue', '.json'])
.end()
.modules
.add('node_modules')
Expand Down

0 comments on commit 2db8d18

Please sign in to comment.