Skip to content

Commit

Permalink
ast: change tooltip property from uglify to terser
Browse files Browse the repository at this point in the history
  • Loading branch information
abenezerabebe authored and sendilkumarn committed Mar 16, 2019
1 parent 4254730 commit ea9e4b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/generators/init-generator.ts
Expand Up @@ -434,7 +434,7 @@ export default class InitGenerator extends Generator {
);
} else {
this.configuration.config.topScope.push(
tooltip.uglify(),
tooltip.terser(),
"const TerserPlugin = require('terser-webpack-plugin');",
"\n",
);
Expand Down
2 changes: 1 addition & 1 deletion packages/generators/utils/tooltip.ts
Expand Up @@ -50,7 +50,7 @@ export default {
*/`;
},

uglify: (_?: void): string => {
terser: (_?: void): string => {
return `/*
* We've enabled TerserPlugin for you! This minifies your app
* in order to load faster and run less javascript.
Expand Down

0 comments on commit ea9e4b8

Please sign in to comment.