Update to nodejs rules 0.27 #29210
Update to nodejs rules 0.27 #29210
Conversation
70ccdfc
to
37b9d30
c56b6bd
to
ab2bda6
|
Note: if The There are also |
|
For reference, rollup version was updated here bazelbuild/rules_nodejs#584 which brough in the |
| # which tree shakes @__PURE__ annotations by default. We turn this feature off | ||
| # for ng_package as Angular bundles contain these annotations and there are | ||
| # test failures if they are removed. See comments in | ||
| # https://github.com/angular/angular/pull/29210 for more information. |
yeah seems like a bug for these annotations to be tree-shaken in the testing bundles? since many tests need them in JIT mode?
I don't think it's a rollup bug. I think libraries need to be run rollup with this option turned off, and applications need to run with it turned on.
| "rollup": "^0.41.6", | ||
| "rollup-plugin-commonjs": "^8.0.2", | ||
| "rollup-plugin-node-resolve": "2.0.0", | ||
| "rollup": "^1.1.0", |
rollup needed an upgrade to fix test failures in the upgrade-phonecat-2-hybrid test. It seems like rollup 0.41.6 couldn't handle the angular bundles produced by rollup 1.3.1 (which is what ng_packager now uses since it shares the version with rollup_bundle).
|
Caretaker: has global approval |
This reverts commit b2aadff.
This reverts commit fc8048d.
This reverts commit 08231f0.
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
No description provided.
The text was updated successfully, but these errors were encountered: