Skip to content

Commit

Permalink
add node resolve and adjust rollup config
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonaden committed May 19, 2017
1 parent aafb01c commit 768fb42
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
"rho": "^0.3.0",
"rollup": "^0.41.6",
"rollup-plugin-commonjs": "^5.0.5",
"rollup-plugin-node-resolve": "^3.0.0",
"selenium-webdriver": "^2.53.3",
"semver": "^5.1.0",
"sorcery": "^0.10.0",
Expand Down
4 changes: 4 additions & 0 deletions packages/core/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@
* found in the LICENSE file at https://angular.io/license
*/

import resolve from 'rollup-plugin-node-resolve';

export default {
entry: '../../dist/packages-dist/core/@angular/core.es5.js',
dest: '../../dist/packages-dist/core/bundles/core.umd.js',
format: 'umd',
exports: 'named',
moduleName: 'ng.core',
plugins: [resolve()],
external: ['rxjs/Subject', 'rxjs/Observable', 'rxjs/Observer', 'rxjs/Subscription', 'rxjs/observable/merge', 'rxjs/operator/share'],
globals: {
'rxjs/Observable': 'Rx',
'rxjs/Subject': 'Rx',
Expand Down

0 comments on commit 768fb42

Please sign in to comment.