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

Add semicolon to "export { initSync }" in OutputMode::Web #4033

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

Awpteamoose
Copy link
Contributor

The rest of the generated js glue doesn't rely on implicit semicolons, but this line does. This causes some minifiers (one of which I happen to use) to output erroneous code.

Copy link
Collaborator

@daxpedda daxpedda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should probably report that to your minifier as well!

@daxpedda daxpedda merged commit 5b28b66 into rustwasm:main Aug 1, 2024
25 checks passed
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.

2 participants