mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
35151ea0ca
Similar to the Rules NodeJS require patch, we have an ESM import patch as of the AIO Bazel migration (to support ESM scripts better). This script uses `--loader`, an experimental NodeJS flag. This is similar to how `ts-node` uses it. We should disable the warnings as it results in a lot of unreadable Bazel output and the warnings are okay to be ignored. Note that we cannot fine-grain disable the specific warning so all others would be disabled too. Realistically we haven't seen any in the past and long-term we will be not relying on patched resolution anyway (looking at `rules_js`). PR Close #48282