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

URL minified #26

Open
samuel-clara opened this issue Dec 18, 2017 · 5 comments
Open

URL minified #26

samuel-clara opened this issue Dec 18, 2017 · 5 comments

Comments

@samuel-clara
Copy link

Since the last version the plugin minifies the url in css in the wrong way: for example url('../images/file.svg') is minified as url(images/file.svg). Same happens with url("../images/file.svg") and url(../images/file.svg).

@abagshaw
Copy link
Owner

@samuel91 CSS minification with brackets-minifier is handled through clean-css. In regards to the issue you are having, I'd recommend you open an issue on their repo as they will be able to better address your problem.

If this is indeed a bug in their package, let me know and I'll make sure to update brackets-minifier to use the latest clean-css once they have fixed the problem on their end.

In the mean time, there may be a way for you to disable URL minification (or something of the sort) through the clean-css options that you can set in the Minifier Preferences panel.

@onebitegeorge
Copy link

I have also just experienced this which left me scratching my head as to why none of my images loaded through CSS were appearing.

@samuel91 did you manage to find a solution that worked for you in the end that you could share?

@mrkeithy
Copy link

As it stands this bug makes the plugin kind of unusable. Not been able to find anything on the clean css pages. Did anyone find a fix for this?

@mrkeithy
Copy link

mrkeithy commented Apr 2, 2018

further to my last post, its suddenly working. Haven't changed anything my end, did something change else where?

@lellomascetti
Copy link

I'm also experiencing the same exact issue on Brackets for mac 1.12 and latest brackets-minifier.
../ is gone when minified. Odd thing is a CSS file minified at the end of April works fine, now it doesn'work and I don't remember to have updated or changed anything in between.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants