fix(core): update

This commit is contained in:
2019-10-05 21:25:44 +02:00
parent c46621517b
commit ac8d603060
3 changed files with 613 additions and 486 deletions

View File

@ -86,7 +86,12 @@ export class TsBundle {
public getOptionsProduction(fromArg: string, toArg: string): plugins.rollup.RollupOptions {
const productionOptions = this.getBaseOptions(fromArg, toArg);
productionOptions.plugins.push(plugins.rollupTerser());
productionOptions.plugins.push(plugins.rollupTerser({
compress: true,
mangle: false,
toplevel: false,
keep_classnames: true
}));
return productionOptions;
}