Skip to content

Commit

Permalink
unknown option '--skip-rebase' tssajo#85
Browse files Browse the repository at this point in the history
```
cleancss -O2 --skip-rebase -o /path/to/file/style.css
error: unknown option '--skip-rebase'
```

reference issue:  tssajo#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
  • Loading branch information
cikaldev committed Mar 22, 2021
1 parent e13ad58 commit afd7add
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@ dependencies are provided below.

3. Install required Node.js CLI apps:<br><br>
From a shell window (`Terminal` on Mac OS X, `CMD.exe` on Windows) issue the following command:<br><br>
`npm install -g clean-css-cli uglifycss js-beautify html-minifier uglify-js minjson svgo`<br><br>
`npm install -g clean-css@3.4.24 uglifycss js-beautify html-minifier uglify-js minjson svgo`<br><br>
Notes:<br><br>
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.<br><br>
If you are never going to work with e.g. SVG files then you can leave out `svgo` from the above npm
install command. You can also leave out `uglifycss`, etc.<br><br>
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:<br><br>
`npm update -g clean-css-cli uglifycss js-beautify html-minifier uglify-js minjson svgo`<br><br>
`npm update -g clean-css@3.4.24 uglifycss js-beautify html-minifier uglify-js minjson svgo`<br><br>
Please test that the installed Node.js CLI apps are available via your `PATH`, here is how:<br><br>
Still from a shell window (`Terminal` on Mac OS X, `CMD.exe` on Windows) issue the following command,
for example:<br><br>
Expand All @@ -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`).<br><br>

##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

Expand Down Expand Up @@ -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
{
Expand All @@ -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.

0 comments on commit afd7add

Please sign in to comment.