build(aio): update to @angular/cli@6.0.0-rc.2 + project layout update (#23234)
project layout was updated using: yarn ng update @angular/cli --migrate-only --from=1.7.3 PR Close #23234
This commit is contained in:
@ -1,10 +1,9 @@
|
||||
const fs = require('fs');
|
||||
const sh = require('shelljs');
|
||||
|
||||
const PATCH_LOCK = 'node_modules/@angular/cli/models/webpack-configs/.patched';
|
||||
const PATCH_LOCK = 'node_modules/@angular/cli/.patched';
|
||||
|
||||
if (!fs.existsSync(PATCH_LOCK)) {
|
||||
sh.exec('patch -p0 -i tools/cli-patches/webpack-no-global.patch');
|
||||
sh.touch(PATCH_LOCK);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user