find contributor plugin with react app
npm install fcb-webpack-pluginshell
npm install fcb-webpack-plugin
`
or
`shell
yarn add fcb-webpack-plugin
`
#### In NextJS
Paste in `next.config.js`
`js
/* @type {import('next').NextConfig} /
const FCBPlugin = require("fcb-webpack-plugin");const nextConfig = {
reactStrictMode: true,
swcMinify: true,
webpack(config) {
config.plugins.push(new FCBPlugin());
return config;
}
};
module.exports = nextConfig;
`$3
#### enabled
This option is an option to indicate the activation status.
If enabled is false, this plugin is not executed.
`js
/* @type {import('next').NextConfig} /
const FCBPlugin = require("fcb-webpack-plugin");const nextConfig = {
reactStrictMode: true,
swcMinify: true,
webpack(config) {
config.plugins.push(new FCBPlugin({ enabled: false }));
return config;
}
};
module.exports = nextConfig;
``