Skip to content
This repository has been archived by the owner on May 1, 2020. It is now read-only.

Commit

Permalink
fix(optimization): stop removing decorators
Browse files Browse the repository at this point in the history
stop removing decorators
  • Loading branch information
danbucholtz committed Dec 16, 2016
1 parent 7550764 commit 45b0255
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/rollup/ionic-rollup-resolver-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { BuildContext } from '../util/interfaces';
import { Logger } from '../logger/logger';
import { dirname, join, resolve } from 'path';
import * as pluginutils from 'rollup-pluginutils';
import { optimizeJavascript } from '../aot/optimization';

export const PLUGIN_NAME = 'ion-rollup-resolver';

Expand Down Expand Up @@ -56,10 +55,6 @@ export function ionicRollupResolverPlugin(context: BuildContext) {
return null;
}

// remove decorators if prod build
if (context.optimizeJs) {
file.content = optimizeJavascript(jsSourcePath, file.content);
}

let mapContent: string = null;
if (map && map.content) {
Expand Down

0 comments on commit 45b0255

Please sign in to comment.