@rescripts/rescript-use-rewire

0.0.6 • Public • Published

@rescripts/rescript-use-rewire

About

Use "rewires" made for react-app-rewired.

Installation

npm i -D @rescripts/rescript-use-rewire

make sure you've also installed the rewire you wish to use

Usage

[["use-rewire", "name-of-rewire", "other arguments"]]

Example

module.exports = [
  [
    'use-rewire',
    'react-app-rewire-compression-plugin',
    {test: /\.js(\?.*)?$/i, cache: true},
  ],
]

/@rescripts/rescript-use-rewire/

    Package Sidebar

    Install

    npm i @rescripts/rescript-use-rewire

    Weekly Downloads

    10

    Version

    0.0.6

    License

    MIT

    Unpacked Size

    2.61 kB

    Total Files

    4

    Last publish

    Collaborators

    • harrysolovay