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

fix module variable in CJS #2124

Merged
merged 1 commit into from
Jul 2, 2024
Merged

fix module variable in CJS #2124

merged 1 commit into from
Jul 2, 2024

Conversation

mayank99
Copy link
Contributor

@mayank99 mayank99 commented Jul 2, 2024

Changes

Simply renames the module variable, because module is a built-in thing in CJS.

This fixes #2123. The same issue was also reported privately by another user ("SyntaxError: Identifier 'module' has already been declared").

Testing

N/A

Docs

N/A

@mayank99 mayank99 requested review from a team as code owners July 2, 2024 14:11
@mayank99 mayank99 requested review from r100-stack and Ben-Pusey-Bentley and removed request for a team July 2, 2024 14:11
@mayank99 mayank99 self-assigned this Jul 2, 2024
@mayank99 mayank99 merged commit 2a1a6b5 into main Jul 2, 2024
16 checks passed
@mayank99 mayank99 deleted the mayank/module-type branch July 2, 2024 14:18
@imodeljs-admin imodeljs-admin mentioned this pull request Jul 2, 2024
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

Successfully merging this pull request may close these issues.

3 participants