mirror of
https://github.com/misenhower/splatoon2.ink.git
synced 2026-04-25 15:57:50 -05:00
Fix HMR
This commit is contained in:
parent
8dfe469d1b
commit
38c0538d57
|
|
@ -4,7 +4,7 @@
|
|||
"dev": "webpack",
|
||||
"watch": "npm run dev -- --watch",
|
||||
"build": "webpack -p --env production",
|
||||
"serve": "webpack-dev-server --content-base public/",
|
||||
"serve": "webpack-dev-server --hot --content-base public/",
|
||||
"splatnet": "node src/splatoon/update.js",
|
||||
"start": "node src/splatoon/run.js"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -19,9 +19,9 @@ module.exports = function(env) {
|
|||
},
|
||||
output: {
|
||||
path: path.resolve(__dirname, './public'),
|
||||
filename: 'assets/js/[name].[chunkhash].js',
|
||||
filename: 'assets/js/[name].[hash].js',
|
||||
},
|
||||
devtool: (production) ? false : 'inline-source-map',
|
||||
devtool: (production) ? false : '#cheap-module-eval-source-map',
|
||||
module: {
|
||||
loaders: [
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user