From 2db8d1877b0dd6a4b729437c859f3fb33be37ff5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9as=20Hanss?= Date: Mon, 26 Nov 2018 05:45:12 +0100 Subject: [PATCH] feat: add support for loading WebAssembly and ES Modules (#2819) --- packages/@vue/cli-service/lib/config/base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@vue/cli-service/lib/config/base.js b/packages/@vue/cli-service/lib/config/base.js index 2ad155816c..979bea2c6e 100644 --- a/packages/@vue/cli-service/lib/config/base.js +++ b/packages/@vue/cli-service/lib/config/base.js @@ -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')