Skip to content

Inject full path to Worker where it used, not where declared #486

Open
@javeoff

Description

@javeoff

My package creates an instance of Worker, and my main nodejs esm application cannot inject the file, because full path is based on my package. I can create PR with process.cwd optional support in the options. Or do you can explain how can I solve the problem?

function resolveScriptPath(scriptPath: string, baseURL?: string | undefined) {

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