You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 12, 2023. It is now read-only.
Describe the bug
Minifying background-image url path gets stripped when using up a couple levels
this path "../../../assets/images/" will be this after minifying "assets/images/". It also stripes quotes from the url attribute.
To Reproduce
Steps to reproduce the behavior:
Open attached file
Minify it
Open the min version and search for "color.jpg"
See the path has been striped
Expected behavior
Dont touch the paths
Screenshots
original syntax
Stripped syntax
Desktop (please complete the following information):
The other issue you're having is that paths are getting rebased which they should not by default. Are you sure that es6-css-minify.css > rebase is set to false? It is set to false by default.
Adding the following to your .vscode/settings.json should fix both issues:
Describe the bug
Minifying background-image url path gets stripped when using up a couple levels
this path "../../../assets/images/" will be this after minifying "assets/images/". It also stripes quotes from the url attribute.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Dont touch the paths
Screenshots
original syntax
Stripped syntax
Desktop (please complete the following information):
Test file
mbr-additional.css.zip
The text was updated successfully, but these errors were encountered: