Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
config
src
.babelrc
README.md
index.html
package-lock.json
package.json
postcss.config.js

README.md

Sass Workflow Using cssnano and Autoprefixer (webpack)

This Sass preprocessor workflow uses cssnano for postprocessing minification and optimization that includes Autoprefixer to add vendor prefixes for only the browsers that need to be supported.

  1. Requires Node.js

  2. Download or clone this repsoitory.

  3. Change directory to /uiCookbook/sass-cssnano/webpack

  4. Run npm install from a bash terminal or command prompt. This will read the package.json file and install the dependencies into the sass-cssnano project folder.

npm install
  • Build
npm run build

Additional reading: