cra-rewire-lodash-plugin
v1.0.1
Published
add lodash-webpack-plugin to cra-rewire
Downloads
15
Readme
cra-rewire-lodash-plugin
Add lodash-webpack-plugin to CRA2.X
Installation
npm install cra-rewire-lodash-plugin -D
or
yarn add cra-rewire-lodash-plugin -D
Usage
const craRewireLodashPlugin = require('cra-rewire-lodash-plugin');
/* config-overrides.js */
module.exports = function overrides(config, env) {
config = craRewireLodashPlugin(config, env, {
paths: true,
});
return config;
};