Skip to content
This repository has been archived by the owner on Jan 10, 2018. It is now read-only.

Commit

Permalink
fix(packaging): Use top level Core export of select. (#218)
Browse files Browse the repository at this point in the history
This makes store and core jointly more compatible with the use case where you want to load them both via UMDs using SystemJS. By using the new top level export from core, store no longer needs to configure (in the rollup config) a way to reach deeper inside.
  • Loading branch information
Kyle Cordes authored and robwormald committed Sep 17, 2016
1 parent f04c544 commit b24df37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions rollup.config.js
Expand Up @@ -5,7 +5,7 @@ export default {
moduleName: 'ngrx.store',
globals: {
'@angular/core': 'ng.core',
'@ngrx/core/operator/select': 'ngrx.core',
'@ngrx/core': 'ngrx.core',
'rxjs/Observable': 'Rx',
'rxjs/BehaviorSubject': 'Rx',
'rxjs/Subscriber': 'Rx',
Expand All @@ -14,4 +14,4 @@ export default {
'rxjs/operator/scan': 'Rx.Observable.prototype',
'rxjs/operator/withLatestFrom': 'Rx.Observable'
}
}
}
2 changes: 1 addition & 1 deletion src/store.ts
@@ -1,4 +1,4 @@
import { select, SelectSignature } from '@ngrx/core/operator/select';
import { select, SelectSignature } from '@ngrx/core';
import { Observer } from 'rxjs/Observer';
import { Observable } from 'rxjs/Observable';
import { Subscriber } from 'rxjs/Subscriber';
Expand Down

0 comments on commit b24df37

Please sign in to comment.