Skip to content

Duplicate worker code inside bundle file with inline option #129

Open
@Stukova

Description

@Stukova

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});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions