mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
revert: no need of terser
This commit is contained in:
parent
f27ab7a427
commit
356c5afabd
2 changed files with 0 additions and 5 deletions
|
|
@ -52,7 +52,6 @@
|
|||
"less-loader": "^4.0.5",
|
||||
"react-life-hook": "^0.2.0",
|
||||
"style-loader": "^0.23.1",
|
||||
"terser-webpack-plugin": "^1.2.3",
|
||||
"typescript": "^3.3.3333",
|
||||
"uglifyjs-webpack-plugin": "^2.1.2",
|
||||
"url-loader": "^1.1.2",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
const webpack = require('webpack')
|
||||
const CopyWebpackPlugin = require('copy-webpack-plugin')
|
||||
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin')
|
||||
const TerserPlugin = require('terser-webpack-plugin');
|
||||
const path = require('path')
|
||||
|
||||
const srcPath = path.resolve(__dirname, 'src')
|
||||
|
|
@ -37,9 +36,6 @@ module.exports = {
|
|||
entry: {
|
||||
content: './src/content.tsx',
|
||||
},
|
||||
optimization: {
|
||||
minimizer: IN_PRODUCTION_MODE ? [new TerserPlugin()] : [],
|
||||
},
|
||||
mode: IN_PRODUCTION_MODE ? 'production' : 'development',
|
||||
output: {
|
||||
path: path.resolve(__dirname, 'dist'),
|
||||
|
|
|
|||
Loading…
Reference in a new issue