Skip to content

Latest commit

 

History

History

postcss-config

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

PostCSS

Create postcss.config.js with the following content:

const config = require("@davidsneighbour/config/postcss");
module.exports = config;

More information about PostCSS configuration.

Note about using PostCSS in GoHugo

GoHugo is weird, but great. To get PostCSS to work with GoHugo the postcss-cli package needs to be installed in the project itself and is not handled through this configuration. Run the following to get PostCSS working in GoHugo:

npm install --save-dev postcss-cli

A global postcss-cli installation won't work if the plugins in this package are not installed globally as well.

All configurations

Configurations
Build Tools
Babel Webpack
Testing
Cypress HTML Validate
Linters and Formatters
Browserslist ESLint PostCSS
Prettier Stylelint
Project Management
Commitlint Release
Markdown and Writing
Markdownlint Remark Lint
Other Tools
Bootstrap Tools