angular-cn/tools/rollup_bundle_commonjs_ignoreGlobal.patch
Greg Magolan c1346462db build: update to nodejs rules 0.37.1 (#32151)
This release includes a ts_config runfiles fix so also cleaning up the one line work-around from #31943.

This also updates to upstream rules_webtesting browser repositories load("@io_bazel_rules_webtesting//web/versioned:browsers-0.3.2.bzl", "browser_repositories") to fix a breaking change in the chromedriver distro. This bumps up the version of chromium to the version here: https://github.com/bazelbuild/rules_webtesting/blob/master/web/versioned/browsers-0.3.2.bzl

PR Close #32151
2019-09-25 11:29:12 -07:00

14 lines
428 B
Diff

diff --git a/internal/rollup/rollup.config.js b/internal/rollup/rollup.config.js
index 5e4e0aa..fe2848c 100644
--- a/internal/rollup/rollup.config.js
+++ b/internal/rollup/rollup.config.js
@@ -173,7 +173,7 @@ const config = {
// with the amd plugin.
include: /\.ngfactory\.js$/i,
}),
- commonjs(), {
+ commonjs({ignoreGlobal: true}), {
name: 'notResolved',
resolveId: notResolved,
},