fix: streamline deployment

This commit is contained in:
2026-02-10 21:40:04 +01:00
parent 2809d639f5
commit 8c36ab0459
3 changed files with 6 additions and 49 deletions

View File

@@ -1,9 +1,5 @@
import createNextIntlPlugin from 'next-intl/plugin';
import { withSentryConfig } from '@sentry/nextjs';
import path from 'path';
import { fileURLToPath } from 'url';
const __dirname = path.dirname(fileURLToPath(import.meta.url));
import withMintelConfig from '@mintel/next-config';
const withNextIntl = createNextIntlPlugin();
@@ -339,18 +335,4 @@ const nextConfig = {
const nextIntlConfig = withNextIntl(nextConfig);
// GlitchTip is Sentry-compatible; we use the Sentry Next.js SDK.
// Source map upload is optional; we keep this config minimal.
export default withSentryConfig(
nextIntlConfig,
{
silent: !process.env.CI,
// Keep bundle size down; remove SDK debug logging.
treeshake: { removeDebugLogging: true },
},
// Sentry Webpack plugin options (not needed unless you upload sourcemaps)
{
// no sourcemap upload by default
authToken: undefined,
}
);
export default withMintelConfig(nextIntlConfig);

View File

@@ -2,18 +2,9 @@
"dependencies": {
"@directus/sdk": "^18.0.3",
"@mintel/mail": "^1.6.0",
"@react-email/components": "^1.0.6",
"@react-pdf/renderer": "^4.3.2",
"@sentry/nextjs": "^10.38.0",
"@swc/helpers": "^0.5.18",
"@types/cheerio": "^0.22.35",
"@types/leaflet": "^1.9.21",
"axios": "^1.13.2",
"cheerio": "^1.1.2",
"clsx": "^2.1.1",
"framer-motion": "^12.27.1",
"gray-matter": "^4.0.3",
"@mintel/next-feedback": "^1.6.0",
"@mintel/next-config": "^1.6.0",
"@mintel/next-utils": "^1.6.0",
"i18next": "^25.7.3",
"jsdom": "^27.4.0",
"leaflet": "^1.9.4",
@@ -55,6 +46,7 @@
"autoprefixer": "^10.4.23",
"eslint": "^9.18.0",
"@mintel/eslint-config": "^1.6.0",
"@mintel/tsconfig": "^1.6.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"postcss": "^8.5.6",

View File

@@ -1,23 +1,6 @@
{
"extends": "@mintel/tsconfig/nextjs.json",
"compilerOptions": {
"target": "ES2020",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": false,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "react-jsx",
"incremental": true,
"plugins": [
{
"name": "next"
}
],
"baseUrl": ".",
"paths": {
"@/*": ["./*"],