-
Notifications
You must be signed in to change notification settings - Fork 57
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
Showing css background images during dev #20
Comments
This is a problem for me too. Any idea? |
Unfortunately no, I experimented a bit but did not have luck. Ive used for two small projects and neither had many bg images so I worked around it. Still trying to add css source maps as well. |
does this answer help? #7 (comment) |
Still unstable, the background image not working and the import script and style on production got error also. i think im back to tailpress
|
I tried a few different things, but wasn't finding a good method. Just recently I tried just letting the 'wp-content' version roll through my build, I received an error that the files were not created and left alone, which is fine since I dont want my images being rebuilt every time, but when I deployed it worked as expected. So, my current css variables look like this:
This is being rendered in my built css file, now Im going to try to remove the warning from my build process. |
First off, huge thanks to blonsetar for putting this together, I got it up and running relatively easily.
With the inc.vite updates in the other issue I have both running good locally, and pushing code to my server set to production mode is working good too.
One thing I haven't been able to do yet is to see css background images while in dev mode locally... Im assuming its a path I have to edit in the config but am new to vite, any suggestions?
The text was updated successfully, but these errors were encountered: