angular-cn/tools/rollup_bundle_commonjs_igno...

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,
},