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

Replace File Using CLI #2

Open
jivemedia opened this issue Mar 18, 2024 · 0 comments
Open

Replace File Using CLI #2

jivemedia opened this issue Mar 18, 2024 · 0 comments

Comments

@jivemedia
Copy link

Hi,

Is there a better way to replace a file using this tool than to output to a new file?

Currently, I'm using the below in a project to output to a new file and then replace the original.

strip-css-comments vendor.css > vendor-output.css --no-preserve

mv vendor-output.css vendor.css

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

1 participant