Browse Source

Fixed a webpack depreciation warning

theflametrooper 8 năm trước cách đây
mục cha
commit
3ee77515e4
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      .gitignore
  2. 1 1
      frontend/webpack.config.js

+ 1 - 1
.gitignore

@@ -18,7 +18,7 @@ backend/config/default.json
 
 # Front End
 frontend/node_modules
-frontend/dist/
+frontend/dist
 
 npm
 

+ 1 - 1
frontend/webpack.config.js

@@ -22,7 +22,7 @@ const plugins = [
 	}),
 	new webpack.optimize.OccurrenceOrderPlugin(),
 	new webpack.HotModuleReplacementPlugin(),
-	new webpack.NoErrorsPlugin(),
+	new webpack.NoEmitOnErrorsPlugin(),
   new webpack.DefinePlugin({
     "process.env": {
 			NODE_ENV: JSON.stringify(nodeEnv),