Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vordgi/nimpl-classnames-minifier
Library for configuring style (css/scss/sass) modules to generate compressed classes in next.js
https://github.com/vordgi/nimpl-classnames-minifier
css cssmodules frontend minification minify-css nextjs performance react
Last synced: 7 days ago
JSON representation
Library for configuring style (css/scss/sass) modules to generate compressed classes in next.js
- Host: GitHub
- URL: https://github.com/vordgi/nimpl-classnames-minifier
- Owner: vordgi
- License: mit
- Created: 2021-12-29T08:07:30.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-26T19:13:01.000Z (2 months ago)
- Last Synced: 2024-12-13T09:04:28.733Z (13 days ago)
- Topics: css, cssmodules, frontend, minification, minify-css, nextjs, performance, react
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@nimpl/classnames-minifier
- Size: 303 KB
- Stars: 33
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @nimpl/classnames-minifier
Library for configuring style _(css/scss/sass)_ modules to generate compressed classes (`.header` -> `.a`, `.nav` -> `.b`, ..., `.footer` -> `.aad`, etc.) with support for changes and rebuilding without clearing the built application. The package itself synchronizes minified classnames with components of the application compiled earlier.
Visit https://nimpl.tech/classnames-minifier to view the full documentation.
## Installation
**Using npm:**
```bash
npm i @nimpl/classnames-minifier
```**Using yarn:**
```bash
yarn add @nimpl/classnames-minifier
```## License
[MIT](https://github.com/vordgi/nimpl-classnames-minifier/blob/main/LICENSE)