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
CSS import regression in Vite 2.8 #6797
Comments
With VIte 2.7.13, the value is available in both development mode and when built for production |
To be fair, |
Interestingly enough this fails only when importing from node_module, if you import from a file in the project it works as expected also in 2.8. That is why this test still passes: vite/packages/playground/css/main.js Lines 69 to 70 in 651e0ba
|
@bluwy looks like it was never added to the documentation, but |
Describe the bug
When you import CSS using the
inline
flag, likethe value is available in development mode but becomes an empty string in the built version
Reproduction
https://github.com/Artur-/vite-vaadin-problem6
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: