DEV Community


How to use the multi plugin in your next.js application

asmdhabibullah profile image Abu Sayem Md Habibullah ・1 min read

I saw many of them have problems to use multi plugins in next.js configuration file, I mean next.config.js file.

You can use official (next-compose-plugins) to wraps your all plugins and look at all plugins documentation below the link:

Also, you can try this, it's working properly.

// In your next.config.js file
const withPlugins = require('next-compose-plugins');
const withCSS = require("@zeit/next-css");
const withSass = require('@zeit/next-sass')
const withImages = require('next-images')

module.exports = withPlugins([

Discussion (0)

Forem Open with the Forem app