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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
javeoff opened this issue Jan 2, 2024 · 0 comments
Open

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

javeoff opened this issue Jan 2, 2024 · 0 comments

Comments

@javeoff
Copy link

javeoff commented Jan 2, 2024

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) {

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