Apr 7, 2023
0
Level 2
Generated CSS is laiden with errors when using vite+boostrap
Hello,
So i have laravel project with vite+bootstrap. And after I run npm run build the generated CSS file is full of errors.
For example this:
Cannot resolve '--bs-body-text-align' custom property
When I search through the whole project (including vendor) for --bs-body-text-align it's nowhere to be found, but somehow a variable like this ends up in the generated CSS. Where does it come from? How do I get rid of it?
In general the project works by the way, the only problem is the annoying red highlighting in PHPstorm dir structure.
Thanks!
Please or to participate in this conversation.