Jelajahi Sumber

Fixed issue with livereload for Wes. Removed weird errors from webpack, also removed optimization for bundle.js

theflametrooper 8 tahun lalu
induk
melakukan
6f2492348a
1 mengubah file dengan 1 tambahan dan 7 penghapusan
  1. 1 7
      frontend/webpack.config.js

+ 1 - 7
frontend/webpack.config.js

@@ -1,7 +1,4 @@
 // webpack.config.js
-
-const webpack = require('webpack');
-
 module.exports = {
 	// entry point of our application
 	entry: './main.js',
@@ -39,8 +36,5 @@ module.exports = {
 		presets: ['es2015'],
 		plugins: ['transform-runtime'],
 		comments: false
-	},
-	plugins: [
-		new webpack.optimize.UglifyJsPlugin()
-	]
+	}
 };