From c36ac479a98dc7c95288cea0031333dca8c9103d Mon Sep 17 00:00:00 2001 From: Brandon Croft Date: Fri, 21 Sep 2018 10:06:57 -0600 Subject: [PATCH] chore(Webpack): webpack can now load mjs files, but we don't want it to Background: https://github.com/apollographql/react-apollo/issues/1737 --- webpack/webpack.config.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/webpack/webpack.config.js b/webpack/webpack.config.js index 7f24327d3a..0d787c0648 100644 --- a/webpack/webpack.config.js +++ b/webpack/webpack.config.js @@ -65,6 +65,12 @@ module.exports = { ], module: { rules: [ + { + type: "javascript/auto", + test: /\.mjs$/, + include: /node_modules/, + use: [] + }, { test: /\.html$/, use: {