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 14
14
],
15
15
"main" : " dist/vue-grid-layout.min.js" ,
16
16
"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" ,
18
18
"build" : " cross-env NODE_ENV=production webpack --progress --hide-modules" ,
19
19
"dist" : " webpack --progress --hide-modules --config webpack.build.js && cross-env NODE_ENV=production webpack --progress --hide-modules --config webpack.build.min.js"
20
20
},
Original file line number Diff line number Diff line change 1
1
var path = require ( 'path' )
2
2
var webpack = require ( 'webpack' )
3
3
4
-
5
4
module . exports = {
6
5
entry : './src/main.js' ,
7
6
output : {
@@ -54,7 +53,10 @@ module.exports = {
54
53
performance : {
55
54
hints : false
56
55
} ,
57
- devtool : '#eval-source-map'
56
+ devtool : '#eval-source-map' ,
57
+ plugins : [
58
+ new webpack . HotModuleReplacementPlugin ( )
59
+ ]
58
60
}
59
61
60
62
You can’t perform that action at this time.
0 commit comments