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

processImport always false #10

Open
squiddle opened this issue May 26, 2015 · 1 comment
Open

processImport always false #10

squiddle opened this issue May 26, 2015 · 1 comment

Comments

@squiddle
Copy link

Why is the clean-css option processImport forced to be false. We also import some css files and would want them to be inlined as well. Is there any specific reasoning behind it?

@lukeapage
Copy link
Member

lukeapage commented May 26, 2015

its because the following less would inline

@import (inline) "file.css";

and the following would leave as-is

@import (css) "file.css";

with the 2nd one being the default, so I didn't want less specified directive being overridden by the minifier.

but we should probably only default it to false and allow it to be overridden and I would accept a PR to do that, can't imagine it is much work.

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

2 participants