build: add a before-all-other bootstrap script that patches require (#34736)
This removes the churn in the existing bootstrap scripts. PR Close #34736
This commit is contained in:

committed by
Matias Niemelä

parent
449a9fccc2
commit
8560f016cd
@ -6,12 +6,6 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
// bootstrap the bazel require patch since this bootstrap script is loaded with
|
||||
// `--node_options=--require=$(rlocation $(location script.js))`
|
||||
if (process.env['BAZEL_NODE_RUNFILES_HELPER']) {
|
||||
require(process.env['BAZEL_NODE_RUNFILES_HELPER'] as string).patchRequire();
|
||||
}
|
||||
|
||||
import 'zone.js/lib/node/rollup-main';
|
||||
import 'zone.js/lib/zone-spec/long-stack-trace';
|
||||
import 'zone.js/lib/zone-spec/task-tracking';
|
||||
|
Reference in New Issue
Block a user