This repository was archived by the owner on Nov 24, 2021. It is now read-only.
File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"presets" : [
3
3
[
4
- " @babel/env" ,
4
+ " @babel/preset- env" ,
5
5
{
6
6
"modules" : false ,
7
7
"forceAllTransforms" : true ,
14
14
]
15
15
],
16
16
"plugins" : [
17
- " @babel/transform-object-assign"
17
+ " @babel/plugin- transform-object-assign"
18
18
],
19
19
"env" : {
20
20
"test" : {
21
21
"presets" : [
22
22
[
23
- " @babel/env" ,
23
+ " @babel/preset- env" ,
24
24
{
25
25
"targets" : {
26
26
"node" : " current"
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ const webpack = require('webpack');
4
4
const path = require ( 'path' ) ;
5
5
const CleanWebpackPlugin = require ( 'clean-webpack-plugin' ) ;
6
6
const UnminifiedWebpackPlugin = require ( 'unminified-webpack-plugin' ) ;
7
- const UglifyJsPlugin = require ( 'uglifyjs -webpack-plugin' ) ;
7
+ const TerserPlugin = require ( 'terser -webpack-plugin' ) ;
8
8
9
9
module . exports = {
10
10
context : __dirname ,
@@ -48,9 +48,9 @@ module.exports = {
48
48
} ,
49
49
optimization : {
50
50
minimizer : [
51
- new UglifyJsPlugin ( {
51
+ new TerserPlugin ( {
52
52
sourceMap : false ,
53
- uglifyOptions : {
53
+ terserOptions : {
54
54
output : {
55
55
beautify : false
56
56
} ,
You can’t perform that action at this time.
0 commit comments