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
This commit is contained in:
Ian Flanigan
2021-03-26 15:44:43 +01:00
committed by GitHub
parent f3ca6f11d0
commit 342f024a85

View File

@@ -18,7 +18,7 @@ module.exports =
publicPath: '/dist/',
watchContentBase: true,
watchOptions: {
ignored: [/node_modules/, /\.git/]
ignored: ['**/node_modules/', '**/.git/']
}
},
module: {