Socket
Socket
Sign inDemoInstall

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

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

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


Version published
Weekly downloads
2
increased by100%
Maintainers
1
Install size
3.13 kB
Created
Weekly downloads
 

Readme

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

Last updated on 25 Mar 2022

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc