Explorar el Código

Fixed a webpack depreciation warning

theflametrooper hace 8 años
padre
commit
3ee77515e4
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  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),