customize-cra-disable-babel-cache

0.0.2 • Public • Published

Description

This is a customize-cra addon to disable babel-loader cache.

Under the hood, it simply sets cacheDirectory option to false

Installation

  1. Follow the customize-cra installation process here

  2. Install the package

    npm install --save-dev customize-cra-disable-babel-cache
    

Usage

// config-overrides.js
const { override } = require("customize-cra");
const { disableBabelCache } = require("customize-cra-disable-babel-cache");
 
module.exports = override(
  process.env.NODE_ENV === "development" && disableBabelCache()
);

Readme

Keywords

none

Package Sidebar

Install

npm i customize-cra-disable-babel-cache

Weekly Downloads

304

Version

0.0.2

License

MIT

Unpacked Size

2.66 kB

Total Files

4

Last publish

Collaborators

  • novikov