mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2026-03-22 07:06:47 +00:00
* 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
24 lines
509 B
JavaScript
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,
|
|
},
|
|
});
|