Closed OliverJAsh closed 3 years ago
Modules in the es6 folder refer to fp-ts/lib/* and thus do not tree shake properly.
es6
fp-ts/lib/*
Modules in the es6 folder refer to fp-ts/es6/*
fp-ts/es6/*
See imports at top of https://unpkg.com/fp-ts-rxjs@0.6.12/es6/Observable.js
This appears to be a regression from https://github.com/gcanti/fp-ts-rxjs/commit/d490d8ccee761f48d624e5e86ad19b0f8729c546.
It was working in 0.6.11: https://unpkg.com/fp-ts-rxjs@0.6.11/es6/Observable.js
@OliverJAsh opss, forgot to update import-path-rewrite before publishing, thanks for the bug report, will fix asap
import-path-rewrite
@OliverJAsh patch released
🐛 Bug report
Current Behavior
Modules in the
es6
folder refer tofp-ts/lib/*
and thus do not tree shake properly.Expected behavior
Modules in the
es6
folder refer tofp-ts/es6/*
Reproducible example
See imports at top of https://unpkg.com/fp-ts-rxjs@0.6.12/es6/Observable.js
Additional context
This appears to be a regression from https://github.com/gcanti/fp-ts-rxjs/commit/d490d8ccee761f48d624e5e86ad19b0f8729c546.
It was working in 0.6.11: https://unpkg.com/fp-ts-rxjs@0.6.11/es6/Observable.js