devexperts/remote-data-ts

Import without `/lib` or `/es6` paths like fp-ts now does

Closed this issue · 8 comments

As per gcanti/fp-ts#1241, fp-ts now allows imports without /lib or /es6 paths, e.g.

import * as O from 'fp-ts/Option';

instead of

import * as O from 'fp-ts/lib/Option';

or

import * as O from 'fp-ts/es6/Option';

Perhaps we could make the same change to this library. WDYT?

@OliverJAsh Unfortunately I'm not working at Devexperts anymore and I don't have write access to this repo anymore.
Ping @PalmZE

ZUGAZ commented

@OliverJAsh seem OK to me. Create PR and I will assist with merge.

Thanks. I will just duplicate the infrastructure used by fp-ts, e.g.: gcanti/fp-ts-rxjs@d490d8c.

@OliverJAsh any progress on this issue?

Sorry I haven't had a chance to look at it, I'm not sure I will anytime soon.

@OliverJAsh I picked up the issue cause this is currently bothering my tree shaking efforts 😉

ZUGAZ commented

Thank you @mlegenhausen @OliverJAsh
Merged #65. Will release soon.

ZUGAZ commented

Released in version 2.1.0