Files
reflector/www/next.config.js
Sergey Mankovsky f6cc03286b fix: upgrade to nextjs 16 (#888)
* Upgrade to nextjs 16

* Update sentry config

* Force dynamic for health route

* Upgrade eslint config

* Upgrade jest

* Move types to dev dependencies

* Remove pages from tailwind config

* Replace img with next image
2026-02-27 17:18:03 +01:00

24 lines
509 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
output: "standalone",
env: {
IS_CI: process.env.IS_CI,
},
experimental: {
optimizePackageImports: ["@chakra-ui/react"],
},
};
const { withSentryConfig } = require("@sentry/nextjs");
module.exports = withSentryConfig(nextConfig, {
silent: true,
org: "monadical",
project: "reflector-www",
widenClientFileUpload: true,
tunnelRoute: "/monitoring",
bundleSizeOptimizations: {
excludeDebugStatements: true,
},
});