chore(build): don't run prod build, just run with flags

TODO: this should be reverted with
https://github.com/driftyco/ionic-app-scripts/issues/668
This commit is contained in:
Brandy Carney
2017-01-20 12:53:13 -05:00
parent 9708ff603e
commit ce7afd0327

View File

@ -183,7 +183,9 @@ export function runAppScripts(folderInfo: any, sassConfigPath: string, appEntryP
let tsConfig = distDir + 'tsconfig.json'; let tsConfig = distDir + 'tsconfig.json';
let scriptArgs = [ let scriptArgs = [
'build', 'build',
'--prod', '--aot',
'--minifyCss',
'--optimizeJs',
'--sass', sassConfigPath, '--sass', sassConfigPath,
'--appEntryPoint', appEntryPoint, '--appEntryPoint', appEntryPoint,
'--srcDir', distDir, '--srcDir', distDir,