Worker scripts not output in correct assets directory #10626
Labels
- P3: minor bug
An edge case that only affects very specific usage (priority)
pkg: astro
Related to the core `astro` package (scope)
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
The Astro build is picking up the Worker script file and transforming it and placing it in the
dist
directory during builds, but it is always placed indist/assets
regardless of what thebuild.assets
configuration is set to.What's the expected result?
I would expect the worker script to be output to the same directory as other client scripts as specified by the
build.assets
property in the configuration.Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-knx6rb?file=src%2Fpages%2Findex.astro
Participation
The text was updated successfully, but these errors were encountered: