-
Notifications
You must be signed in to change notification settings - Fork 17
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
source map not building in --batch #61
Comments
> cleancss -O1 --format breakWith=lf --source-map --source-map-inline-sources --with-rebase --batch --batch-suffix .min "dist/css/*.css" "!dist/css/*.min.css"
ERROR: Source maps will not be built because you have not specified an output file. |
but with |
Thanks for reporting @danny007in - I'll have a closer look tomorrow. |
Sorry it's not been addressed yet - I want to include the fix in 5.3 later this week so stay tuned. |
jakubpawlowicz
added a commit
that referenced
this issue
Apr 8, 2021
Batch mode works without setting `--output` option and CLI wrongly assumed an output is needed for source maps to work.
jakubpawlowicz
added a commit
that referenced
this issue
Apr 8, 2021
In such cases there `rebaseTo` option passed to `clean-css` is just the output directory.
The version on main branch:
Hope this helps. I'm going to release it in 5.3 tomorrow. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Actually without --output
The text was updated successfully, but these errors were encountered: