Skip to content

[Proposal] Add "publicPath" and "name" options #80

@xzilja

Description

@xzilja

I am using workerize-loader in next.js project and as far as I know only option to use it there is to set inline: true. Which works ok, but grows my main commons.js file quiet a bit if there are several workers involved.

Uppon looking at https://github.com/zeit/next-plugins/blob/master/packages/next-workers/index.js which is next.js official plugin for workers I saw that they use worker-loader and set name and publicPath options so that worker file is exported under static folder.

Is it possible to add these same options to workerize-loader in order to disable inline blob and rather export it to a separate file?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions