Plugin to disable minification for Create React App
Disable build minification in your CRA app's build output.
Install
yarn add -D react-scripts-plugin-no-minify
Add to cra.config.js
moduleexports = plugins: 'no-minify';
Configuration (dotenv)
CRA_PLUGIN_NO_MINIFY
- Set tofalse
to disable this plugin's behavior. Defaults totrue
.
Compatability
The official Create React App does not have a supported plugin system. This plugin is compatable with the following forks: