From a505cc8710488ec4b469363942ef36d78209c948 Mon Sep 17 00:00:00 2001 From: Daniel Marsh-Patrick Date: Fri, 27 May 2022 10:20:41 +1200 Subject: [PATCH] Update webpack config tests As #365 seems to be a fairly popular use case (including for me), I propose we add the necessary tests to the webpack config to mitigate this for developers. --- lib/webpack.config.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/webpack.config.js b/lib/webpack.config.js index abdfdfd6..4805e652 100644 --- a/lib/webpack.config.js +++ b/lib/webpack.config.js @@ -64,6 +64,12 @@ module.exports = { loader: require.resolve('base64-inline-loader') } ] + }, + { + test: /\.m?js/, + resolve: { + fullySpecified: false + } } ] },