Mottie / javascript-number-formatter

Lightweight & Fast JavaScript Number Formatter
http://mottie.github.io/javascript-number-formatter/
MIT License
141 stars 37 forks source link

ES6 grammar exists in lib/format.min.js (=>) #24

Closed raisezhang closed 4 years ago

raisezhang commented 5 years ago

This should not include ES6 grammar? such as arrow functions (=>) , Thanks

https://github.com/Mottie/javascript-number-formatter/blob/master/lib/format.min.js
Mottie commented 5 years ago

Hi @raisezhang!

Yes, most browsers support it. If you need es5 support, use format.es5.js. Also see #21.

raisezhang commented 5 years ago

How to configure webpack reference format.es5.js file?

Mottie commented 5 years ago

This repo uses rollup.