Skip to content

feat(preload): support bundling multiple preload scripts without requiring sandbox: false #815

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: master
Choose a base branch
from

Conversation

kricsleo
Copy link

@kricsleo kricsleo commented Jul 19, 2025

Description

resolves #812
resolves #103

This PR adds support for bundling multiple preload scripts without requiring sandbox: false. ❤️

Additional context

I'd also like to backport this feature to older versions if needed.


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Before submitting the PR, please make sure you do the following

@alex8088
Copy link
Owner

I'll test it later and maybe add more. This is a good proposal. 👍

@kricsleo
Copy link
Author

I'd also like to backport this feature to older versions because, sadly, I'm using an older version due to Electron's compatibility requirements 😢. Do you think it's okay to patch the older versions (v2 and v3)?

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.

Support multiple preload scripts bundling without sandbox: false Unable to use preload.build.rollupOptions
2 participants