-
-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Labels
Description
Clear and concise description of the problem
Hello tsdown team,
I am currently exploring tsdown for library development and would like to know if tsdown supports compiling Web Worker files directly.
Specifically, can tsdown handle new Worker(new URL('./worker.ts', import.meta.url), { type: 'module' }) syntax or similar patterns?
If this is not currently supported, are there any plugins or recommended approaches to achieve this?
Would the team consider enhancing tsdown to support Web Worker compilation in the future?
Thank you for your attention. I look forward to your reply.
Suggested solution
support compiling Web Worker files
Alternative
No response
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
sedghi