Skip to content
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

ES6 const as part of exported code #36

Closed
maxijb opened this issue Feb 1, 2019 · 0 comments
Closed

ES6 const as part of exported code #36

maxijb opened this issue Feb 1, 2019 · 0 comments

Comments

@maxijb
Copy link

maxijb commented Feb 1, 2019

When installing this package vis npm, this line is imported containing the ES6 token const, which is breaking our build process in production, as uglifiers expect only ES5 code in node_modules.

const h3 = libh3();

Please replace const with var, to make this safely importable via npm.

@maxijb maxijb changed the title ES6 const as part of the exported code ES6 const as part of exported code Feb 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant