Build: watch and dev mode webpack improvements (#18153)

* Ignore `node_modules` in watch mode

* Simplify development setup
This commit is contained in:
Oleg Gaidarenko
2019-07-20 07:46:41 +03:00
committed by GitHub
parent bc0da1bbfc
commit eac1459832
4 changed files with 12 additions and 3 deletions

View File

@@ -19,6 +19,11 @@ module.exports = merge(common, {
light: './public/sass/grafana.light.scss',
},
// If we enabled watch option via CLI
watchOptions: {
ignored: /node_modules/
},
module: {
rules: [
{