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

Use globalThis in pre.js #36

Merged
merged 2 commits into from
Dec 20, 2023
Merged

Use globalThis in pre.js #36

merged 2 commits into from
Dec 20, 2023

Conversation

Peeterush
Copy link
Contributor

Simplifies the pre.js script to resolve dlemstra/magick-wasm#127

Use globalThis in pre.js
@dlemstra
Copy link
Owner

This patch doesn't seem to work. I already thought I tried this before but it looks like it breaks the build.

@Peeterush
Copy link
Contributor Author

emscripten-core/emscripten#15827 seems to suggest that the optional chaining operator is the issue. Lets try it without!

@Peeterush
Copy link
Contributor Author

The WASM build succeeds now! I think the problem with the Windows build is unrelated?

@dlemstra dlemstra merged commit e9fe919 into dlemstra:main Dec 20, 2023
46 of 61 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.

Not working in web worker
2 participants