Revert lodash minimizer due to bugs that I didn't want to debug.

This commit is contained in:
Ace Pace 2020-04-29 23:42:09 +03:00
parent d5b659c3cd
commit c7a94beb0d
1 changed files with 1 additions and 8 deletions

View File

@ -1,6 +1,4 @@
const path = require('path'); const path = require('path');
const LodashModuleReplacementPlugin = require('lodash-webpack-plugin');
const webpack = require('webpack');
const HtmlWebPackPlugin = require("html-webpack-plugin"); const HtmlWebPackPlugin = require("html-webpack-plugin");
module.exports = { module.exports = {
@ -11,11 +9,7 @@ module.exports = {
exclude: /node_modules/, exclude: /node_modules/,
use: { use: {
loader: "babel-loader", loader: "babel-loader",
options: { }
plugins: ['lodash']
}
},
}, },
{ {
test: /\.css$/, test: /\.css$/,
@ -61,7 +55,6 @@ module.exports = {
] ]
}, },
plugins: [ plugins: [
new LodashModuleReplacementPlugin,
new HtmlWebPackPlugin({ new HtmlWebPackPlugin({
template: "./src/index.html", template: "./src/index.html",
filename: "./index.html" filename: "./index.html"