From afd7add513f9ec3f572faefd820accf4c46a5ed7 Mon Sep 17 00:00:00 2001
From: Ian Cikal <41433325+cikaldev@users.noreply.github.com>
Date: Tue, 23 Mar 2021 01:20:31 +0700
Subject: [PATCH] unknown option '--skip-rebase' #85
```
cleancss -O2 --skip-rebase -o /path/to/file/style.css
error: unknown option '--skip-rebase'
```
reference issue: #85
* update node clean-css using exact version clean-css@3.4.24
* fix typo on README (part example and license)
Note:
This is just **Temporary** solution, before you make an update to functionality of this package. So people like me can use your package properly, specially for minify css code.
Regard's
ian
---
README.md | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index 078131f..8ffcbd7 100644
--- a/README.md
+++ b/README.md
@@ -54,7 +54,7 @@ dependencies are provided below.
3. Install required Node.js CLI apps:
From a shell window (`Terminal` on Mac OS X, `CMD.exe` on Windows) issue the following command:
- `npm install -g clean-css-cli uglifycss js-beautify html-minifier uglify-js minjson svgo`
+ `npm install -g clean-css@3.4.24 uglifycss js-beautify html-minifier uglify-js minjson svgo`
Notes:
If you are on Mac OS X and you get an error here then issue the following command from `Terminal`:
`sudo chown -R $USER /usr/local` and then try to issue the npm install command from above again.
@@ -62,7 +62,7 @@ dependencies are provided below.
install command. You can also leave out `uglifycss`, etc.
If you already have some or all of the above Node.js CLI apps installed on your system then it is
recommended to update them all to the latest version with the following command:
- `npm update -g clean-css-cli uglifycss js-beautify html-minifier uglify-js minjson svgo`
+ `npm update -g clean-css@3.4.24 uglifycss js-beautify html-minifier uglify-js minjson svgo`
Please test that the installed Node.js CLI apps are available via your `PATH`, here is how:
Still from a shell window (`Terminal` on Mac OS X, `CMD.exe` on Windows) issue the following command,
for example:
@@ -72,7 +72,7 @@ dependencies are provided below.
You may want to do this test for all Node.js CLI apps (`cleancss`, `uglifycss`, `js-beautify`, `html-minifier`,
`uglifyjs`, `minjson` and `svgo`).
-##How to use `Minify`
+## How to use `Minify`
Open a `.css` or `.htm` or `.html` or `.js` or `.json` or `.svg` file in your Sublime Text editor and you can
@@ -111,7 +111,7 @@ Please do not edit the **Settings - Default** file!!
Also, you can override the default and user settings for individual projects. Just add a "Minify" object to the "settings" object
in the project's .sublime-project file containing your [project specific settings](http://www.sublimetext.com/docs/3/projects.html).
-###Example:
+### Example:
```json
{
@@ -129,6 +129,6 @@ in the project's .sublime-project file containing your [project specific setting
}
```
-##License
+## License
See [LICENSE.md](https://github.com/tssajo/Minify/blob/master/LICENSE.md) file for licensing information.