cyrilwanner / next-compose-plugins

💡next-compose-plugins provides a cleaner API for enabling and configuring plugins for next.js
MIT License
736 stars 12 forks source link

Support phases and optional dependencies #7

Closed cyrilwanner closed 6 years ago

cyrilwanner commented 6 years ago

This is a complete rewrite and resolves #2. It should get released as v2.0.0 because there are breaking changes and it requires next.js v5.1.x as it depends on features introduced in this version.

snax4a commented 2 years ago

@cyrilwanner Is it possible to use optional with env variable check? For example include bundle analyzer only if process.env.ANALYZE === 'true'