megacolorboy

Back

Published on November 7th, 2020

CSS+SCSS

Use node-sass to minify your CSS

If you want to turn your files to minified files but without using Webpack or Gulp, just install the package using package manager and then run this on your terminal:And now, you can use your file on production! 😆Hope you found this tip useful!

1 minute read

If you want to turn your .scss files to minified .css files but without using Webpack or Gulp, just install the node-sass package using npm package manager and then run this on your terminal:


sass scss/style.scss css/style.css --style compressed

And now, you can use your style.css file on production! 😆

Hope you found this tip useful!