From 342f024a85e5effce4f1d39365136f7ea9328e8b Mon Sep 17 00:00:00 2001 From: Ian Flanigan Date: Fri, 26 Mar 2021 15:44:43 +0100 Subject: [PATCH] Fix webpack ignored files (#69) Before, the configuration used an array of regex literals. With webpack 2.1.1, this breaks as it expects a list of glob strings. See https://webpack.js.org/configuration/watch/#watchoptionsignored --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index fcfd412..f6e9fdb 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -18,7 +18,7 @@ module.exports = publicPath: '/dist/', watchContentBase: true, watchOptions: { - ignored: [/node_modules/, /\.git/] + ignored: ['**/node_modules/', '**/.git/'] } }, module: {