Skip to content

Commit cf91538

Browse files
committed
Merge branch 'towerofnix-housekeeping/terser' into develop
2 parents 6aba4bf + a7a9338 commit cf91538

File tree

3 files changed

+4
-333
lines changed

3 files changed

+4
-333
lines changed

package-lock.json

Lines changed: 1 addition & 330 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
"scratch-semantic-release-config": "1.0.14",
139139
"selenium-webdriver": "3.6.0",
140140
"semantic-release": "19.0.5",
141-
"uglifyjs-webpack-plugin": "1.3.0",
141+
"terser-webpack-plugin": "1.4.5",
142142
"url-loader": "4.1.1",
143143
"web-audio-test-api": "0.5.2",
144144
"webpack": "4.47.0",

webpack.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const webpack = require('webpack');
55
// Plugins
66
const CopyWebpackPlugin = require('copy-webpack-plugin');
77
const HtmlWebpackPlugin = require('html-webpack-plugin');
8-
const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
8+
const TerserPlugin = require('terser-webpack-plugin');
99

1010
// PostCss
1111
const autoprefixer = require('autoprefixer');
@@ -93,7 +93,7 @@ const base = {
9393
},
9494
optimization: {
9595
minimizer: [
96-
new UglifyJsPlugin({
96+
new TerserPlugin({
9797
include: /\.min\.js$/
9898
})
9999
]

0 commit comments

Comments
 (0)