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

Unable to control worker output directory with worker.rollupOptions #7928

Closed
7 tasks done
yamacent opened this issue Apr 27, 2022 · 1 comment · Fixed by #7804
Closed
7 tasks done

Unable to control worker output directory with worker.rollupOptions #7928

yamacent opened this issue Apr 27, 2022 · 1 comment · Fixed by #7804

Comments

@yamacent
Copy link

Describe the bug

Specifying assetFileNames and chunkFileNames in worker.rollupOptions does not affect the worker's output directory.

How to reproduce

  • open the reproduction link
  • run npm run build

What is expected?

worker js file is generated under dist/worker/ directory.

What is actually happening?

worker js file is generated under dist/assets/ directory.

Reproduction

https://stackblitz.com/edit/vitejs-vite-tjouvf

System Info

https://stackblitz.com/edit/vitejs-vite-tjouvf

Used Package Manager

npm

Logs

No response

Validations

@sapphi-red
Copy link
Member

Related: #7613
#7804 seems to fix this too.

@github-actions github-actions bot locked and limited conversation to collaborators May 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants