Skip to content

Commit

Permalink
feat(terser): replace after merging master
Browse files Browse the repository at this point in the history
  • Loading branch information
sendilkumarn committed Mar 16, 2019
1 parent ea9e4b8 commit c404655
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 87 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ exports[`uglifyJsPlugin transforms correctly using "uglifyJsPlugin-0" data 1`] =
`;

exports[`uglifyJsPlugin transforms correctly using "uglifyJsPlugin-1" data 1`] = `
"const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
"const TerserPlugin = require('terser-webpack-plugin');
module.exports = {
devtool: \\"source-map\\",
optimization: {
minimize: true,
minimizer: [new UglifyJsPlugin({
minimizer: [new TerserPlugin({
sourceMap: true,
compress: {}
})]
Expand All @@ -26,13 +26,13 @@ module.exports = {
`;

exports[`uglifyJsPlugin transforms correctly using "uglifyJsPlugin-2" data 1`] = `
"const Uglify = require('uglifyjs-webpack-plugin');
"const TerserPlugin = require('terser-webpack-plugin');
module.exports = {
devtool: \\"source-map\\",
optimization: {
minimize: true,
minimizer: [new Uglify({
minimizer: [new TerserPlugin({
sourceMap: true,
compress: {}
})]
Expand Down Expand Up @@ -78,7 +78,7 @@ exports[`uglifyJsPlugin transforms correctly using "uglifyJsPlugin-3" data 1`] =
`;

exports[`uglifyJsPlugin transforms correctly using "uglifyJsPlugin-4" data 1`] = `
"const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
"const TerserPlugin = require('terser-webpack-plugin');
module.exports = {
devtool: 'eval',
Expand Down Expand Up @@ -110,7 +110,7 @@ module.exports = {
optimization: {
minimize: true,
minimizer: [new UglifyJsPlugin({
minimizer: [new TerserPlugin({
sourceMap: true
})]
}
Expand Down

0 comments on commit c404655

Please sign in to comment.