We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
undefined
When using rollup, a warning is shown:
It leads to https://rollupjs.org/guide/en/#error-this-is-undefined
Is there a way to prevent this error?
No other packages in project produce errors or warnings.
The text was updated successfully, but these errors were encountered:
Suggest preventing the error from rollup config side: https://stackoverflow.com/questions/43556940/rollup-js-and-this-keyword-is-equivalent-to-undefined . Since nice modal uses tsc command to compile the code, suppose it generates some kind of "standard" code.
Sorry, something went wrong.
I saw this solution and would love to use it only if no other choice.
Two places use this in compiled code - __assign and __rest at the top. I believe this are polyfills to quite popular functions.
__assign
__rest
Wondering what other libraries do since I haven't seen this warning with other packages and I do think they use this functions 🕵️
No branches or pull requests
When using rollup, a warning is shown:
It leads to https://rollupjs.org/guide/en/#error-this-is-undefined
Is there a way to prevent this error?
No other packages in project produce errors or warnings.
The text was updated successfully, but these errors were encountered: