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

dynamically imported style overwrites original entry in manifest.json #10691

Closed
7 tasks done
domtra opened this issue Oct 28, 2022 · 1 comment
Closed
7 tasks done

dynamically imported style overwrites original entry in manifest.json #10691

domtra opened this issue Oct 28, 2022 · 1 comment

Comments

@domtra
Copy link

domtra commented Oct 28, 2022

Describe the bug

I am using a scss file as an entry point and import that same file with a dynamic import in a javascript file.

When i build the project and output the build manifest, the scss entry file is not listed in anymore. only the intermediary css file is listed.

I expect the manifest.json to include the style.scss file.

This is probably also related to this pr but wasn't fixed by it.

Reproduction

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

Steps to reproduce

npm run build

System Info

stackblitz
vite@3.2.1

Used Package Manager

npm

Logs

Click to expand!
The emitted file "assets/style.a5c756ae.css" overwrites a previously emitted file of the same name.

Validations

@sapphi-red
Copy link
Member

Closing as I confirmed this is fixed in 4.0.0.

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

No branches or pull requests

2 participants