All checks were successful
Monorepo Pipeline / ⚡ Prioritize Release (push) Successful in 3s
Monorepo Pipeline / 🧪 Test (push) Successful in 45s
Monorepo Pipeline / 🧹 Lint (push) Successful in 1m12s
Monorepo Pipeline / 🏗️ Build (push) Successful in 1m52s
Monorepo Pipeline / 🚀 Release (push) Has been skipped
Monorepo Pipeline / 🐳 Build Directus (Base) (push) Has been skipped
Monorepo Pipeline / 🐳 Build Gatekeeper (Product) (push) Has been skipped
Monorepo Pipeline / 🐳 Build Build-Base (push) Has been skipped
Monorepo Pipeline / 🐳 Build Production Runtime (push) Has been skipped
@mintel/next-config
A powerful Next.js configuration wrapper that standardizes internationalization, error tracking, and security across all Mintel client websites.
✨ Features
next-intlIntegration: 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.