https://github.com/ember-cli/ember-cli-clean-css
CSS minification via clean-css for Ember CLI
https://github.com/ember-cli/ember-cli-clean-css
Last synced: 4 months ago
JSON representation
CSS minification via clean-css for Ember CLI
- Host: GitHub
- URL: https://github.com/ember-cli/ember-cli-clean-css
- Owner: ember-cli
- License: mit
- Created: 2017-02-22T22:27:26.000Z (almost 9 years ago)
- Default Branch: main
- Last Pushed: 2024-11-06T15:29:12.000Z (about 1 year ago)
- Last Synced: 2025-08-28T22:57:57.113Z (5 months ago)
- Language: JavaScript
- Homepage:
- Size: 1.56 MB
- Stars: 6
- Watchers: 9
- Forks: 7
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ember-cli-clean-css
> [!NOTE]
> This addon is not needed and is NOT used when [embroider](https://github.com/embroider-build/embroider) is enabled.
## Installation
```
ember install ember-cli-clean-css
```
## Usage
Options for clean-css can be passed through the `minifyCSS` property in `ember-cli-build.js`. Please see the docs for ember-cli [here](https://cli.emberjs.com/release/advanced-use/asset-compilation/#minifying).
## clean-css versions
### `ember-cli-clean-css` 3.x
`ember-cli-clean-css` 3.x uses `clean-css` `v5.0`. When upgrading you may enounter differences in css output. Please see the `clean-css` [documentation](https://github.com/clean-css/clean-css) and changelog to determine how the output has changed.
### `ember-cli-clean-css` 2.x
`ember-cli-clean-css` 2.x uses `clean-css` `v3.4`. This exactly matches the version that `ember-cli` (via `ember-cli-preprocess-registry`) used in `ember-cli <= 4.12`.
## Contributing
See the [Contributing](CONTRIBUTING.md) guide for details.
## License
This project is licensed under the [MIT License](LICENSE.md).