Skip to content

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

@yardinternet/postcss-config

Postcss settings used by the WordPress team.

Installation

npm i @yardinternet/postcss-config

Usage

@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


Assets

  • postcss-config-2.1.2.tgz

Download activity

  • Total downloads 3
  • Last 30 days 3
  • Last week 2
  • Today 0

Recent versions

View all