build(aio): patch @angular/cli to use esm builds of rxjs (#19702)
-rw-r--r-- 1 iminar eng 14942 Oct 13 14:52 dist/0.b19e913fbdd6507d346b.chunk.js -rw-r--r-- 1 iminar eng 1535 Oct 13 14:52 dist/inline.6ca24f1c3b848103b041.bundle.js -rw-r--r-- 1 iminar eng 567802 Oct 13 14:52 dist/main.c8183a2c0116782ca366.bundle.js -rw-r--r-- 1 iminar eng 37402 Oct 13 14:52 dist/polyfills.f8409a9eb69060ac1aa6.bundle.js PR Close #19702
This commit is contained in:

committed by
Matias Niemelä

parent
040b376052
commit
b396029d39
10
aio/tools/cli-patches/patch.js
Normal file
10
aio/tools/cli-patches/patch.js
Normal file
@ -0,0 +1,10 @@
|
||||
const fs = require('fs');
|
||||
const sh = require('shelljs');
|
||||
|
||||
const PATCH_LOCK = 'node_modules/@angular/cli/models/webpack-configs/.patched';
|
||||
|
||||
if (!fs.existsSync(PATCH_LOCK)) {
|
||||
sh.exec('patch -p0 -i tools/cli-patches/rxjs-esm-aliases.patch');
|
||||
sh.touch(PATCH_LOCK);
|
||||
}
|
||||
|
Reference in New Issue
Block a user