Skip to content

Use your own PostCSS configuration in Create React App

Notifications You must be signed in to change notification settings

jsxtools/rescript-use-postcss-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rescript PostCSS

NPM Version Build Status Support Chat

Rescript PostCSS is a Rescripts configuration that lets you use your own PostCSS configuration in Create React App without ejecting.

Installation

Add Rescript PostCSS to your project:

npm install rescript-use-postcss-config --save-dev

Next, add Rescript PostCSS to your Rescript configuration:

// .rescriptsrc.js
module.exports = [
  ['use-postcss-config']
]

Usage

Use your own PostCSS configuration:

// .postcssrc.js
module.exports = {
  map: true,
  plugins: {
    'postcss-preset-env': { stage: 0 }
  }
}

About

Use your own PostCSS configuration in Create React App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published