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

rebaseTo setting is ignored #304

Open
plynchnlm opened this issue Mar 31, 2020 · 0 comments
Open

rebaseTo setting is ignored #304

plynchnlm opened this issue Mar 31, 2020 · 0 comments

Comments

@plynchnlm
Copy link

I am trying to update grunt-contrib-cssmin to 3.0.0. Formerly, I could control the rebasing with the "root" option. I see clean-css 4 has replaced that with rebaseTo. However, when I change my Gruntfile to have:

      cssmin: {
        options: {
          rebase: true,
          rebaseTo: '<%= yeoman.client %>'
        }   
      },  

the URLs are rebased, but my rebaseTo setting is ignored, and resulting paths are relative to the destination file and point to the source image files (outside my dist directory).

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

1 participant