mirror of
https://github.com/whscullin/apple1js.git
synced 2025-01-03 03:31:33 +00:00
Upgrade webpack
This commit is contained in:
parent
07486c13a7
commit
44ac4c83b5
9894
package-lock.json
generated
9894
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -33,11 +33,11 @@
|
||||
"eslint": "^5.16.0",
|
||||
"jest": "^26.4.2",
|
||||
"node-forge": "^0.10.0",
|
||||
"webpack": "^4.29.6",
|
||||
"webpack-cli": "^3.2.3",
|
||||
"webpack-dev-server": "^3.11.0"
|
||||
"webpack": "^5.64.4",
|
||||
"webpack-cli": "^4.9.1",
|
||||
"webpack-dev-server": "^4.6.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"micromodal": "^0.3.2"
|
||||
"micromodal": "^0.4.2"
|
||||
}
|
||||
}
|
||||
|
@ -2,6 +2,7 @@ const path = require('path');
|
||||
|
||||
module.exports =
|
||||
{
|
||||
mode: 'development',
|
||||
devtool: 'source-map',
|
||||
entry: {
|
||||
apple1: path.resolve('js/entry1.js')
|
||||
@ -14,10 +15,14 @@ module.exports =
|
||||
},
|
||||
devServer: {
|
||||
compress: true,
|
||||
static: {
|
||||
watch: {
|
||||
ignored: /(node_modules|test|\.git)/
|
||||
},
|
||||
directory: __dirname,
|
||||
},
|
||||
devMiddleware: {
|
||||
publicPath: '/dist/',
|
||||
watchContentBase: true,
|
||||
watchOptions: {
|
||||
ignored: /node_modules/
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user