Skip to content
This repository has been archived by the owner on Mar 16, 2023. It is now read-only.

make recipes work with next-compose-plugins #1

Open
biowaffeln opened this issue Feb 6, 2021 · 0 comments
Open

make recipes work with next-compose-plugins #1

biowaffeln opened this issue Feb 6, 2021 · 0 comments

Comments

@biowaffeln
Copy link
Owner

Currently recipes like MDX and Preact that update next.config.js don't work if the existing config uses next-compose-plugins. Plugins should be inserted like this:

// next.config.js
const withPlugins = require('next-compose-plugins');

module.exports = withPlugins(
  [ /* insert plugin here */ ],
  { /* insert config here */ }
);
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant