customize-cra-disable-babel-cache
v0.0.2
Published
This is a [customize-cra](https://github.com/arackaf/customize-cra) addon to disable babel-loader cache.
Downloads
1,365
Readme
Description
This is a customize-cra addon to disable babel-loader cache.
Under the hood, it simply sets cacheDirectory
option to false
Installation
Follow the customize-cra installation process here
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()
);