Socket
Book a DemoInstallSign in
Socket

@benjamin-vanryseghem/rescript-use-postcss-config

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@benjamin-vanryseghem/rescript-use-postcss-config

Use your own PostCSS configuration in Create React App

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

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 }
  }
}

FAQs

Package last updated on 25 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts