Skip to content

Commit

Permalink
fix: dont bundle rxjs with the library
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Lewis committed Jun 13, 2016
1 parent fe49114 commit 7b1280e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/resizable.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
Output,
EventEmitter
} from '@angular/core';
import {Subject} from 'rxjs';
import {Subject} from 'rxjs/Subject';
import {Observable} from 'rxjs/Observable';

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

0 comments on commit 7b1280e

Please sign in to comment.