Skip to content

Instantly share code, notes, and snippets.

@cyrilletuzi
Last active December 14, 2016 20:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cyrilletuzi/33f3b3dfe0484cf56cbb7a78da3ed7d0 to your computer and use it in GitHub Desktop.
Save cyrilletuzi/33f3b3dfe0484cf56cbb7a78da3ed7d0 to your computer and use it in GitHub Desktop.
export default {
entry: 'dist/index.js',
dest: 'dist/bundles/amazing.umd.js',
sourceMap: false,
format: 'umd',
moduleName: 'ng.amazing',
globals: {
'@angular/core': 'ng.core',
'rxjs/Observable': 'Rx',
'rxjs/ReplaySubject': 'Rx',
'rxjs/add/operator/map': 'Rx.Observable.prototype',
'rxjs/add/operator/mergeMap': 'Rx.Observable.prototype',
'rxjs/add/observable/fromEvent': 'Rx.Observable',
'rxjs/add/observable/of': 'Rx.Observable'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment