Skip to content

Commit

Permalink
fix: import missing rxjs operators
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Lewis committed Jun 13, 2016
1 parent 0862bb6 commit 300ac10
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/resizable.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import {
} from '@angular/core';
import {Subject} from 'rxjs/Subject';
import {Observable} from 'rxjs/Observable';
import 'rxjs/add/operator/map';
import 'rxjs/add/operator/mergeMap';

export interface Edges {
top?: boolean;
Expand Down
12 changes: 12 additions & 0 deletions webpack.config.dist.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,18 @@ module.exports = {
commonjs: 'rxjs/Observable',
commonjs2: 'rxjs/Observable',
amd: 'rxjs/Observable'
},
'rxjs/add/operator/map': {
root: ['rx', 'Observable'],
commonjs: 'rxjs/operator/map',
commonjs2: 'rxjs/operator/map',
amd: 'rxjs/operator/map'
},
'rxjs/add/operator/mergeMap': {
root: ['rx', 'Observable'],
commonjs: 'rxjs/operator/mergeMap',
commonjs2: 'rxjs/operator/mergeMap',
amd: 'rxjs/operator/mergeMap'
}
},
devtool: 'source-map',
Expand Down

0 comments on commit 300ac10

Please sign in to comment.