• Joined on 2026-01-15

@mintel/next-config (1.9.5)

Published 2026-02-27 21:33:15 +00:00 by mmintel in mmintel/at-mintel

Installation

@mintel:registry=
npm install @mintel/next-config@1.9.5
"@mintel/next-config": "1.9.5"

About this package

@mintel/next-config

A powerful Next.js configuration wrapper that standardizes internationalization, error tracking, and security across all Mintel client websites.

Features

  • next-intl Integration: Automatically wraps your config with the internationalization plugin.
  • Sentry/GlitchTip: Pre-configured error tracking with treeshaking and silent CI builds.
  • Standalone Output: Optimized for Docker deployments by default.
  • Security Headers: Strict Content Security Policy (CSP) and SVG safety.
  • Analytics Proxy: Built-in rewrites for Umami analytics (/stats/*) and GlitchTip (/errors/*).

🚀 Usage

In your next.config.ts:

import mintelNextConfig from "@mintel/next-config";

/** @type {import('next').NextConfig} */
const nextConfig = {
  // Your project specific config (redirects, etc.)
};

export default mintelNextConfig(nextConfig);

🌐 Environment Variables

The following variables are used by this config:

  • NEXT_PUBLIC_UMAMI_SCRIPT_URL: URL to your Umami instance.
  • SENTRY_DSN: Your GlitchTip/Sentry DSN.

Dependencies

Dependencies

ID Version
@sentry/nextjs ^10.38.0
next 16.1.6
next-intl ^4.8.2
Details
npm
2026-02-27 21:33:15 +00:00
503
1.9 KiB
Assets (1)
Versions (11) View all
1.9.11 2026-03-03
1.9.10 2026-03-03
1.9.8 2026-03-03
1.9.7 2026-03-02
1.9.5 2026-02-27