Skip to content

fix: add support for scratch-storage chunk files in webpack configuration #9885

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

yokobond
Copy link

@yokobond yokobond commented May 7, 2025

Resolves

Assets in libraries are loaded correctly.

Proposed Changes

Copy scratch-storage workers under the build path to be accessed by browser.

Reason for Changes

scratch-storage 4 changed to bundle workers using Webpack 5 native (not plugin) syntax. So that, the worker code ignored by webpack of scratch-gui.

Copy link

github-actions bot commented May 7, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@yokobond yokobond marked this pull request as ready for review May 7, 2025 02:45
@yokobond
Copy link
Author

yokobond commented May 7, 2025

I have read the CLA Document and I hereby sign the CLA

@yokobond yokobond changed the title feat: add support for scratch-storage chunk files in webpack configuration fix: add support for scratch-storage chunk files in webpack configuration May 7, 2025
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.

Asset (sprite, backdrop, ...) does not load after clicking - scratch-gui v5.1.33
1 participant