threads-plugin icon indicating copy to clipboard operation
threads-plugin copied to clipboard

Options for extracted .worker.js file

Open barnabasbartha opened this issue 4 years ago • 2 comments

The plugin works well as expected but it would be nice to have some options for the output js file. I have a worker called my-worker and using this plugin its production js file will be '0.my-worker.worker.js'. Can we somehow specify it? For example, I have my source file assets in a subdirectory, so I would like to import it using 'subdirectory/0.my-worker.worker.js' in my main.js production file otherwise it won't work because the output files will not be there but in the sub directory.

barnabasbartha avatar Mar 05 '20 16:03 barnabasbartha