-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This package should be published pre-compiled #2
Comments
Hi @boonpflug! What is the compilation target you are trying to use this for? This module was designed for use in a node 8+ environment, but with something like browserify, babel, or webpack, it should be compilable for browser environments like most other node modules out there. |
The minifer that webpack uses doesn't understand ES6 syntax so it falls over on pretty much every line in this library (string templates, array / object destructuring, etc) and create-react-app tells developers to go to libraries (like this) and tell them to ship ES5 compatible builds |
Normally with Webpack one would exclude |
Hi folks, I understand the concern. I am open to converting this library to ES5 to help with this issue. I'd rather not introduce a build step to avoid over-complicating maintenance of a very small module. |
As of now this is not building in minified builds/
The text was updated successfully, but these errors were encountered: