mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
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:
@ -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,
|
||||||
|
Reference in New Issue
Block a user