Skip to content
This repository has been archived by the owner on Feb 23, 2022. It is now read-only.

Command line argument preserve comments doesn't work #108

Open
puranjayjain opened this issue Dec 21, 2016 · 2 comments
Open

Command line argument preserve comments doesn't work #108

puranjayjain opened this issue Dec 21, 2016 · 2 comments

Comments

@puranjayjain
Copy link

Using the command below

java -jar compiler/closure-stylesheets.jar --pretty-print --preserve-comments --allowed-non-standard-function -webkit-transform --allow-unrecognized-functions --allow-unrecognized-properties --output-file closure/closure.css --output-renaming-map-format CLOSURE_COMPILED --rename CLOSURE --output-renaming-map closure/renaming_map.js closure/concated.css

I expect the output should be pretty printed but also have comments, but they are rather stripped, is there something I'm doing wrong? are only certain types of comments supported?

@iflan
Copy link
Member

iflan commented Dec 21, 2016

I haven't had time to verify this, but I will try soon. Do you have a particular input file that you can share?

@puranjayjain
Copy link
Author

puranjayjain commented Dec 21, 2016

Its a css file I have renamed it to a .txt file as github doesnt support that file type.
material.txt

Although, it's minified in its current state but I have tried to use the above option on an unminified file as well.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants