-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
--clean-css
option is not compatible with --source-map
#1656
Comments
okay, now will show an error if you use them. |
The error says "sourcemap" twice instead of mentioning "cleancss" |
ah sorry, will correct |
No. Clean css are working on sourcemap support though and once they are |
Really hope soucemap will work with "Clean css "! |
+1 |
1 similar comment
+1 |
Still finding this an issue, using it through CodeKit Compress option, but wont compress and use sourcemaps at the same time. Says to check this issue. Any plans for this to be addressed? |
Clean css are adding support and we are working with them. They are in |
Excellent. Good to hear. And thanks for the quick reply.
|
If people want to test the new clean-css sourcemaps in less, use less v2.1.1 (latest) and wherever you reference the clean-css plugin (whether in your package or just installed locally, use this.. e.g. npm install -g git://github.com/less/less-plugin-clean-css.git#0be586d2b9ed8004f19078fbf293d96df0ab2dc0
npm install -g less
lessc in.less out.css --clean-css --source-map |
So... any word on this? It's been months. |
@bdkjones Read the post right above yours: update |
I read the entire thread, thanks. The post above mine implies that it's in beta. ("[...] if people want to test [...]") I'm looking for confirmation that this is ready for use in production. |
Sorry, its no longer in beta, its out. |
If its out of beta then that's a good thing then? Does that mean it's fixed?
|
It is fixed. The sorry was for not updating the issue.
|
/*# sourceMappingURL=
comment.Example: compare
lessc --compress --source-map style.less style.min.css
with
lessc --clean-css --source-map style.less style.min.css
.It would make sense to exit with an error when both options are specified by user on command line, or throw an error if called from js, e.g. from grunt-contrib-less.
The text was updated successfully, but these errors were encountered: