From d26a4169bbe2a0bc688ddf1860d12dae13859a55 Mon Sep 17 00:00:00 2001 From: Sean Larkin Date: Mon, 23 Apr 2018 23:58:01 -0700 Subject: [PATCH] fix(wasm): fix resolved default extensions Fixes #3261 --- lib/builder/webpack/base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/builder/webpack/base.js b/lib/builder/webpack/base.js index 857c8eefbd..bb57d1dbac 100644 --- a/lib/builder/webpack/base.js +++ b/lib/builder/webpack/base.js @@ -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 },