Files
at-mintel/packages/next-config
Marc Mintel 1bbe89c879
Some checks failed
Monorepo Pipeline / ⚡ Prioritize Release (push) Successful in 4s
Monorepo Pipeline / 🧪 Test (push) Successful in 5m30s
Monorepo Pipeline / 🏗️ Build (push) Successful in 7m42s
Monorepo Pipeline / 🧹 Lint (push) Successful in 2m5s
Monorepo Pipeline / 🐳 Build Directus (Base) (push) Successful in 1m4s
Monorepo Pipeline / 🐳 Build Build-Base (push) Successful in 1m31s
Monorepo Pipeline / 🐳 Build Production Runtime (push) Successful in 59s
Monorepo Pipeline / 🚀 Release (push) Successful in 2m52s
Monorepo Pipeline / 🐳 Build Gatekeeper (Product) (push) Successful in 4m32s
Monorepo Pipeline / 🐳 Build Image Processor (push) Has been cancelled
chore: sync versions to v1.8.15
2026-02-22 23:07:34 +01:00
..
2026-02-10 00:27:59 +01:00
2026-02-09 23:05:15 +01:00
2026-02-22 23:07:34 +01:00
2026-02-01 01:01:16 +01:00

@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.