apvarun / toastify-js

Pure JavaScript library for better notification messages
https://apvarun.github.io/toastify-js/
MIT License
2.13k stars 230 forks source link

Convert to ES6 compatible library #65

Closed AStoker closed 3 years ago

AStoker commented 3 years ago

ES6 Conversion + Features

Resolves #15 Added a new file (toastify-es.js) which contains an ES6 compliant version of Toastify.
Few improvements and changes to behavior:

Notable changes to code:

Things that should still happen:

AStoker commented 3 years ago

@apvarun I think this is ready for review

AStoker commented 3 years ago

@apvarun, see anything I missed in this PR? Would love to get this first draft in. Next steps can be to create a Typescript version which can compile out to native modules or legacy javascript

AStoker commented 3 years ago

@apvarun , let me know if there's something I can do to help this get merged in faster

apvarun commented 3 years ago

I think we should also reference this new es file somehow so that the correct file is picked up by bundler