Skip to content
Compare
Choose a tag to compare
@github-actions github-actions released this 05 Aug 08:36
· 2 commits to main since this release
0018bc6

Patch Changes

  • #1612 941a075 Thanks @SutuSebastian! - Fix nextjs plugin to work on all environments

    Changes

    • fix(ui): nextjs plugin to run properly on NODE_ENV environments: production, development and test
    • log file writes in dev

    Breaking changes

    withFlowbiteReact now always returns async configuration (see: Async Configuration) so make sure to wrap any other HOC (higher-order-functions) such as withContentlayer because most of them do not forward pass async config arguments (eg: phase, options)

    // ❌ not working
    export default withContentlayer(withFlowbiteReact(nextConfig));
    
    // ✅ working
    export default withFlowbiteReact(withContentlayer(nextConfig));