Update watch options, package-lock.json

This commit is contained in:
Will Scullin 2021-03-26 13:26:29 -07:00
parent 54eddb178c
commit 0c89f44560
No known key found for this signature in database
GPG Key ID: 26DCD1042C6638CD
3 changed files with 1210 additions and 2417 deletions

3618
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -7,7 +7,7 @@
"dev": "webpack serve --mode=development", "dev": "webpack serve --mode=development",
"index": "bin/index > json/disks/index.js", "index": "bin/index > json/disks/index.js",
"lint": "eslint '**/*.js' '**/*.ts'", "lint": "eslint '**/*.js' '**/*.ts'",
"start": "webpack serve --mode=production", "start": "webpack serve --mode=development",
"test": "jest" "test": "jest"
}, },
"engines": { "engines": {

View File

@ -19,15 +19,14 @@ module.exports =
devServer: { devServer: {
compress: true, compress: true,
static: { static: {
watch: false, watch: {
ignored: /(node_modules|.git)/
},
directory: __dirname, directory: __dirname,
}, },
dev: { dev: {
publicPath: '/dist/', publicPath: '/dist/',
}, },
// watchContentBase: true,
// watchOptions: {
// ignored: ['**/node_modules/', '**/.git/']
}, },
module: { module: {
rules: [ rules: [