1.0.1 • Published 2 years ago
next-composed-plugins v1.0.1
next-composed-plugins
📦 Installation
# Install with Yarn
yarn add -D next-composed-plugins
# Or with NPM
npm install -g next-composed-plugins
🚀 Usage
const { withPlugins } = require('next-composed-plugins');
module.exports = withPlugins(
{
reactStrictMode: true,
compiler: {
styledComponents: true,
},
},
[
withSvgr,
withBundleAnalyzer,
[
withInterceptStdout,
(text) => (text.includes('Duplicate atom key') ? '' : text),
],
// Add plugins here
],
);
Interested in
withInterceptStdout
? Click Here