Skip to content

Commit bebcc31

Browse files
committed
fix rollup umd bundle size
1 parent dee4b77 commit bebcc31

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

rollup.config.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import sourcemaps from 'rollup-plugin-sourcemaps';
44
const globals = {
55
'@angular/core': 'ng.core',
66
'@angular/common': 'ng.common',
7-
'rxjs': 'Rx'
7+
'rxjs': 'rxjs',
8+
'rxjs/operators': 'rxjs.operators'
89
};
910

1011
export default {
@@ -16,6 +17,7 @@ export default {
1617
name: 'ng.ngxUiScroll',
1718
globals,
1819
sourcemap: true,
19-
exports: 'named'
20+
exports: 'named',
21+
amd: { id: 'ngx-ui-scroll' }
2022
}
2123
};

0 commit comments

Comments
 (0)