From adfbde3b95ad1ca984851c9822793816157cd9d2 Mon Sep 17 00:00:00 2001 From: Chris Thielen Date: Sun, 10 Apr 2016 14:27:32 -0500 Subject: [PATCH] fix(build): declare external dep on `angular/core` in webpack bundle Closes #2687 --- packages/ng2/webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ng2/webpack.config.js b/packages/ng2/webpack.config.js index 528850a52..7cecd002f 100644 --- a/packages/ng2/webpack.config.js +++ b/packages/ng2/webpack.config.js @@ -43,6 +43,6 @@ module.exports = { }, externals: { - "angular2/core": { root: 'angular2/core', commonjs2: 'angular2/core', commonjs: 'angular2/core' } + "angular2/core": { root: 'angular2/core', amd: 'angular2/core', commonjs2: 'angular2/core', commonjs: 'angular2/core' } } };