1.1.0 • Published 5 years ago
lipemat-postcss-boilerplate v1.1.0
The Start Of A Beautiful PostCSS Structure
A zero configuration starting point for postcss styled theme or plugin.
Usage
Add the following to your package.json. (this may also be found in the templates
directory.
{
"theme_path": "../wp-content/themes/core/",
"root": "../",
"file_name": "front-end",
"scripts": {
"dist": "lipemat-postcss-boilerplate dist",
"start": "lipemat-postcss-boilerplate start",
"lint": "lipemat-postcss-boilerplate lint"
},
"dependencies": {
"lipemat-postcss-boilerplate": "^1.1.0"
}
}
You may adjust things as needed by be sure to leave the scripts
as is.
Configuration Overrides
All configurations are found in the config
directory and may be extended by adding a matching file within your project directory.
For instance is you want to adjust postcss.js
you may add a config/postcss.js
file in your project directory.
All declarations are merged in favor of the project config.