Skip to content

Commit

Permalink
...使用一个 reactivedb 无需摇树的版本
Browse files Browse the repository at this point in the history
添加的 `import 'rxjs/internal/symbol/observable` 是用来保证在
reactivedb 的 rxjs 依赖完全清瘦的情况下,SymbolConstructor 上的
observable 字段被挂上,令 ts 编译通过。
  • Loading branch information
chuan6 committed Sep 26, 2018
1 parent b57fc01 commit 6687571
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"moment": "^2.18.1",
"node-watch": "^0.5.8",
"nyc": "^11.2.1",
"reactivedb": "~0.11.0",
"reactivedb": "0.11.1-alpha.0-rxnotreeshake",
"rollup": "^0.60.5",
"rollup-plugin-alias": "^1.3.1",
"rollup-plugin-commonjs": "^8.4.1",
Expand Down
2 changes: 2 additions & 0 deletions src/rx.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import 'rxjs/internal/symbol/observable'

export { defer } from 'rxjs/internal/observable/defer'
export { empty } from 'rxjs/internal/observable/empty'
export { forkJoin } from 'rxjs/internal/observable/forkJoin'
Expand Down

0 comments on commit 6687571

Please sign in to comment.