@@ -2,11 +2,11 @@ import { withSentryConfig } from "@sentry/nextjs";
2
2
/** @type {import('next').NextConfig } */
3
3
import analyzer from "@next/bundle-analyzer" ;
4
4
import nextra from "nextra" ;
5
- import path from "path" ;
6
- import { fileURLToPath } from "url" ;
5
+ // import path from "path";
6
+ // import { fileURLToPath } from "url";
7
7
8
- const __filename = fileURLToPath ( import . meta. url ) ;
9
- const __dirname = path . dirname ( __filename ) ;
8
+ // const __filename = fileURLToPath(import.meta.url);
9
+ // const __dirname = path.dirname(__filename);
10
10
11
11
const withNextra = nextra ( {
12
12
theme : "nextra-theme-docs" ,
@@ -133,7 +133,7 @@ const nextConfig = withAnalyzer(
133
133
experimental : {
134
134
externalDir : true ,
135
135
} ,
136
- webpack : ( config , { isServer } ) => {
136
+ webpack : ( config ) => {
137
137
config . externals . push ( {
138
138
// "@blocknote/core": "bncore",
139
139
// "@blocknote/react": "bnreact",
@@ -219,4 +219,5 @@ export default withSentryConfig(nextConfig, {
219
219
// https://docs.sentry.io/product/crons/
220
220
// https://vercel.com/docs/cron-jobs
221
221
automaticVercelMonitors : true ,
222
+ telemetry : false ,
222
223
} ) ;
0 commit comments