I am looking to include multiple modules in my next.config.js file.
Currently, my file looks like this:
const withImages = require('next-images')
const path = require('path')
module.exports = withImages({
esModule: false,
});
Now I want to add the following as well:
module.exports = {
i18n: {
locales: ['en-US', 'fr', 'nl-NL'],
defaultLocale: 'en-US',
},
}
In addition, I may need to incorporate more plugins into the configuration as well.