Skip to content

Commit adfbde3

Browse files
fix(build): declare external dep on angular/core in webpack bundle
Closes #2687
1 parent cdf1d19 commit adfbde3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ng2/webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ module.exports = {
4343
},
4444

4545
externals: {
46-
"angular2/core": { root: 'angular2/core', commonjs2: 'angular2/core', commonjs: 'angular2/core' }
46+
"angular2/core": { root: 'angular2/core', amd: 'angular2/core', commonjs2: 'angular2/core', commonjs: 'angular2/core' }
4747
}
4848
};

0 commit comments

Comments
 (0)