feat: add view transitions, smooth scroll, bundle analyzer, SSE radio stream, and AnimatePresence animations
Local Build and Deploy / deploy (push) Successful in 1m24s
Local Build and Deploy / deploy (push) Successful in 1m24s
This commit is contained in:
1 parent
57c3fe601a
commit
f53d25e0a5
11 files changed
+519
-229
No files matched your search
+7
-2
@@ -1,6 +1,7 @@
|
||||
import type { NextConfig } from "next";
|
||||
import { withSentryConfig } from "@sentry/nextjs";
|
||||
import createNextIntlPlugin from "next-intl/plugin";
|
||||
import withBundleAnalyzer from "@next/bundle-analyzer";
|
||||
|
||||
const securityHeaders = [
|
||||
{ key: "X-DNS-Prefetch-Control", value: "on" },
|
||||
@@ -90,7 +91,11 @@ const config = withNextIntl(nextConfig);
|
||||
// so CI/prod compile stays quiet (runtime DSN still works independently).
|
||||
const sentryAuthToken = process.env.SENTRY_AUTH_TOKEN;
|
||||
|
||||
export default withSentryConfig(config, {
|
||||
const withBA = withBundleAnalyzer({
|
||||
enabled: process.env.ANALYZE === "true",
|
||||
});
|
||||
|
||||
export default withBA(withSentryConfig(config, {
|
||||
org: process.env.SENTRY_ORG,
|
||||
project: process.env.SENTRY_PROJECT,
|
||||
authToken: sentryAuthToken,
|
||||
@@ -102,4 +107,4 @@ export default withSentryConfig(config, {
|
||||
release: {
|
||||
create: Boolean(sentryAuthToken),
|
||||
},
|
||||
});
|
||||
}));
|
||||
Reference in new issue
Block a user