rotaready / moment-range

Fancy date ranges for Moment.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get it working in IE11

EricSch opened this issue · comments

Hi,
First thanks for all your work.

I have read the topics here about supporting IE11 and using polyfills.
But now I'm confused and I can't get it running under IE11.

I have seen, there is a branch where the import of the es6-symbol was removed, but I don't see it in the 4.0 branch. In my opinion, this import should be removed. The app should be able and has to include his own polyfills.

Other suggestion would be to use the also the module tag (beside the jsnext:main) in package.json

And which is the best version to use right now? Will V4.0.0 soon be released?
Any hints, how to get it running? I'm using Rollup to build it, and using core.js as polyfill.

Thanks

Hmm, don't think, moment-range works with rollup 56.5 and core-js (see doc). The bundle is totally wrong. Need to drop it for my project.