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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate worker code inside bundle file with inline option #129

Open
Stukova opened this issue Aug 30, 2022 · 0 comments
Open

Duplicate worker code inside bundle file with inline option #129

Stukova opened this issue Aug 30, 2022 · 0 comments

Comments

@Stukova
Copy link

Stukova commented Aug 30, 2022

Hi!

When using inline option in the config, I found duplicate worker code in my bundle.
Perhaps this is because of incorrect use of createObjectURL and revokeObjectURL in the case of inline: true option.
I believe in line 186 馃憞, the argument of URL.revokeObjectURL should not be a string with all the worker code inside it, but it should be a product of URL.createObjectURL method.

URL.revokeObjectURL(${workerUrl});

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

No branches or pull requests

1 participant