From e4a1e3746b72f79f44bd73016afe23e3b576b555 Mon Sep 17 00:00:00 2001 From: Tim Neutkens Date: Fri, 24 Aug 2018 10:29:51 +0200 Subject: [PATCH] Use same extensions webpack supports, with addition of .jsx (#4960) --- build/webpack.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/webpack.js b/build/webpack.js index b210726d..6ac51658 100644 --- a/build/webpack.js +++ b/build/webpack.js @@ -137,7 +137,7 @@ export default async function getBaseWebpackConfig (dir: string, {dev = false, i } : {} const resolveConfig = { - extensions: ['.js', '.jsx', '.json'], + extensions: ['.wasm', '.mjs', '.js', '.jsx', '.json'], modules: [ NEXT_PROJECT_ROOT_NODE_MODULES, 'node_modules',