Hello
I'm using angular 4 with AoT, and it has several requirements, on of them no default imports
Could you add support for it?
e.g. import { isWithinRange } from 'date-fns/is_within_range'
Thank you
@djleonskennedy default exports will be added for esm submodule in v2.0.0: https://github.com/date-fns/date-fns/blob/v2/docs/esm.md#usage-with-typescript
Just do
import * as isWithinRange from 'date-fns/is_within_range';
@leshakoss @gausie thank you
Most helpful comment
Just do