0.0.2 • Published 5 years ago

customize-cra-disable-babel-cache v0.0.2

Weekly downloads
75
License
MIT
Repository
github
Last release
5 years ago

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()
);