0.0.2 • Published 5 years ago
customize-cra-disable-babel-cache v0.0.2
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()
);