1.0.1 • Published 5 years ago

@dvhb/craco-pcss v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

Craco pcss plugin

This plugin add support PostCss *.pcss file extensions for create-react-app.

Supported Versions

craco-pcss is tested with:

  • react-scripts: ^2.1.5
  • @craco/craco: ^3.5.0

Installation

First, follow the craco Installation Instructions to install the craco package, create a craco.config.js file, and modify the scripts in your package.json.

Then install craco-pcss:

$ npm i @dvhb/craco-pcss

# OR

$ yarn add @dvhb/craco-pcss

Usage

Here is a complete craco.config.js configuration file that add supports of *.pcss files to create-react-app:

const cracoPcss = require('@dvhb/craco-pcss');

module.exports = {
  plugins: [{ plugin: cracoPcss }]
};