Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sebaiturravaldes/example-sass-postcss-cssnano
Ejemplo minificando tú código utilizando SASS + PostCSS + cssnano
https://github.com/sebaiturravaldes/example-sass-postcss-cssnano
Last synced: 1 day ago
JSON representation
Ejemplo minificando tú código utilizando SASS + PostCSS + cssnano
- Host: GitHub
- URL: https://github.com/sebaiturravaldes/example-sass-postcss-cssnano
- Owner: sebaiturravaldes
- Created: 2022-10-04T05:55:07.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-04T06:07:11.000Z (over 2 years ago)
- Last Synced: 2024-11-29T21:44:13.935Z (about 2 months ago)
- Language: SCSS
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# example-sass-postcss-cssnano
Ejemplo de minificación de tú código CSS utilizando [SASS](https://sass-lang.com/) + [PostCSS](https://postcss.org/) + [cssnano](https://cssnano.co/)
Ejecutar el siguiente comando:
```cli
npm run minify
```Esto generará 2 directorios, `css/` y `dist/`:
- `css`, Lo generado compilando tú código SASS a CSS (sin comprimir).
- `dist`, Comprime el CSS previamente generado con SASS y lo minifica aplicando [PostCSS](https://postcss.org/) + [cssnano](https://cssnano.co/).