Example of how to use PostCSS and SASS
$ yarn
$ yarn <command name>
Commands | Description |
---|---|
format
|
Formatting code with Prettier |
lint:check
|
Check conflict CSS rules in Stylelint |
lint:fix
|
Fix conflicts in CSS files with Stylelint and format with Prettier |
clean
|
Remove dist directory |
compile
|
Transpile code with PostCSS |
compile:start
|
Watch for transpiling code with PostCSS in development mode |
compile:build
|
Transpile code with PostCSS in production mode |