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

Should have option to process imports #297

Open
sagarkbhatt opened this issue Jan 17, 2018 · 2 comments
Open

Should have option to process imports #297

sagarkbhatt opened this issue Jan 17, 2018 · 2 comments

Comments

@sagarkbhatt
Copy link

In some scenario I want to ignore css import.

  • @import "css/example.css";
  • @import url(http://fonts.googleapis.com/css?family=Open+Sans);
@h3nr1ke
Copy link

h3nr1ke commented Feb 20, 2018

I'm facing problems with @import at this moment, even using

cssmin : {
      options : {
        'processImport': false
      },
      root: 'path/to/root/css/'
},

anyone has any suggestion on how t o get it working?

@Kout
Copy link

Kout commented Nov 21, 2018

@h3nr1ke It might be related to changes in the Clean CSS plugin, see version 4.0 breaking changes:

processImport and processImportFrom are merged into inline option which defaults to local. Remote @import rules are NOT inlined by default anymore;

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

3 participants