fix(core): update

This commit is contained in:
Philipp Kunz 2019-07-19 12:09:00 +02:00
parent 62ad70ac6c
commit 41a886cfcf

View File

@ -81,11 +81,11 @@ export class TsBundle {
} }
public getOptionsTest(fromArg: string, toArg: string): plugins.rollup.RollupOptions { public getOptionsTest(fromArg: string, toArg: string): plugins.rollup.RollupOptions {
return this.getBaseOptions(); return this.getBaseOptions(fromArg, toArg);
} }
public getOptionsProduction(fromArg: string, toArg: string): plugins.rollup.RollupOptions { public getOptionsProduction(fromArg: string, toArg: string): plugins.rollup.RollupOptions {
const productionOptions = this.getBaseOptions(); const productionOptions = this.getBaseOptions(fromArg, toArg);
productionOptions.plugins.push(plugins.rollupTerser()); productionOptions.plugins.push(plugins.rollupTerser());
return productionOptions; return productionOptions;
} }