postcss-config 2.1.2
Install from the command line:
Learn more about npm packages
$ npm install @yardinternet/postcss-config@2.1.2
Install via package.json:
"@yardinternet/postcss-config": "2.1.2"
About this version
Postcss settings used by the WordPress team.
npm i @yardinternet/postcss-config@yardinternet/postcss-config can be required in the postcss.config.js
const { getPathToTheme } = require( './scripts/helpers' );
const postcssSettings = require('@yardinternet/postcss-config');
module.exports = postcssSettings(getPathToTheme(), __dirname);The default path to the styles is web/app/themes/sage/resources/styles.
You can change this values by passing the paths as an parameter.
const postcssSettings = require('@yardinternet/postcss-config');
module.exports = postcssSettings('src/theme', __dirname, 'resources/styles');Details
- postcss-config
-
yardinternet
- about 1 month ago
- ISC
- 7 dependencies
Assets
- postcss-config-2.1.2.tgz
Download activity
- Total downloads 3
- Last 30 days 3
- Last week 2
- Today 0