feat(aio): use new ngo (#17977)

This commit is contained in:
Filipe Silva
2017-07-08 00:34:47 +01:00
committed by Jason Aden
parent 671a175dfb
commit abbac4bc69
7 changed files with 29 additions and 23 deletions

View File

@ -4,8 +4,8 @@ const sh = require('shelljs');
PATCH_LOCK = 'node_modules/@angular/cli/models/webpack-configs/.patched';
if (!fs.existsSync(PATCH_LOCK)) {
sh.exec('patch -p0 -i tools/cli-patches/ngo-loader.patch');
sh.exec('patch -p0 -i node_modules/purify/angular-cli.patch');
sh.exec('patch -p0 -i tools/cli-patches/ngo.patch');
sh.exec('patch -p0 -i tools/cli-patches/purify.patch');
sh.exec('patch -p0 -i tools/cli-patches/scope-hoisting.patch');
sh.exec('patch -p0 -i tools/cli-patches/uglify-config.patch');
sh.touch(PATCH_LOCK);