Skip to content

Create withHarper() Next.js config utility #805

Closed

Description

@kriszyp

Request

Provide a withHarper(nextConfig) utility that wraps the user's Next.js config and applies all necessary adjustments to make Harper work correctly (e.g., webpack externals, server external packages). Reduces boilerplate and keeps integration details out of user code.

// next.config.js
const { withHarper } = require('harperdb/next');
module.exports = withHarper({ /* next config */ });

Related: CORE-2601 (serverExternalPackages investigation)

🤖 Filed by Claude on behalf of Kris.

Activity

  1. added
    enhancementNew feature or request
    area:componentsComponents / applications subsystem
    from-jiraMigrated or originated from a Jira ticket
    on May 26, 2026
  2. Ethan-Arrowood commented on May 26, 2026

    @Ethan-Arrowood
    Member

    Done in @harperfast/nextjs@2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area:componentsComponents / applications subsystemenhancementNew feature or requestfrom-jiraMigrated or originated from a Jira ticket

Type

No type

Fields

Priority

P2

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions