-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
"Missing initializer in const declaration" caused when building minified bundle. #23
Comments
When running a unit test in Jest that uses uniqid the same problem appears:
|
I encounter this error when I run test in Jest also, @mohit-jasapara , does your solution need to be applied on the minified bundle or on uniqid source code before minified? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Missing initializer in const declaration error when creating minified build
const networkInterface,length;
Solution:
Replace
const networkInterface -> var networkInterface
const length -> var length
The text was updated successfully, but these errors were encountered: