File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1414 ],
1515 "main" : " dist/vue-grid-layout.min.js" ,
1616 "scripts" : {
17- "dev" : " cross-env NODE_ENV=development webpack-dev-server --open --inline --hot " ,
17+ "dev" : " cross-env NODE_ENV=development webpack-dev-server --open --inline" ,
1818 "build" : " cross-env NODE_ENV=production webpack --progress --hide-modules" ,
1919 "dist" : " webpack --progress --hide-modules --config webpack.build.js && cross-env NODE_ENV=production webpack --progress --hide-modules --config webpack.build.min.js"
2020 },
Original file line number Diff line number Diff line change 11var path = require ( 'path' )
22var webpack = require ( 'webpack' )
33
4-
54module . exports = {
65 entry : './src/main.js' ,
76 output : {
@@ -54,7 +53,10 @@ module.exports = {
5453 performance : {
5554 hints : false
5655 } ,
57- devtool : '#eval-source-map'
56+ devtool : '#eval-source-map' ,
57+ plugins : [
58+ new webpack . HotModuleReplacementPlugin ( )
59+ ]
5860}
5961
6062
You can’t perform that action at this time.
0 commit comments