@dnb-org/postcss-config v3.5.10
@dnb-org/postcss-config
Installation
Use npm to install this package as development dependency:
npm install --save-dev @dnb-org/postcss-config
Configuration
Create postcss.config.js
with the following content:
const config = require("@dnb-org/postcss-config");
module.exports = config;
More information about PostCSS configuration.
Configuration rules in this package
To be written ...
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.
DNB-Org/Configurations
A collection of configurations for website development at DNB Org.
Package | Description |
---|---|
babel-config | Babel configuration |
bootstrap-config | Bootstrap configuration |
browserslist-config | Browserslist configuration |
commitlint-config | Commitlint configuration |
cssnano-config | CSSnano configuration |
cypress-config | Cypress configuration |
eslint-config | ESLint configuration |
postcss-config | PostCSS configuration |
prettier-config | Prettier configuration |
remark-config | ReMark configuration |
standard-version-config | Standard Version configuration |
stylelint-config | StyleLint configuration |
textlint-config | TextLint configuration |
webpack-config | Webpack configuration |
tools | Tools |
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago