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