CogniPrep's next.config.mjs ends with this:
export default withSentryConfig ( configWithAnalyzer , { org : ' pertu-works ' , project : ' cogniprep ' , silent : ! process . env . CI ,
// OPTIMIZED: Reduced from true to false to decrease bundle size widenClientFileUpload : false ,
// Hide source maps from being sent to the client (reduces bundle size) hideSourceMaps : true ,
webpack : { automaticVercelMonitors : true , treeshake : { // Automatically tree-shake Sentry logger statements to reduce bundle size removeDebugLogging : true , }, }, });
Enter fullscreen mode
Exit fullscreen mode
Three comments, all of them about bundle size. next build on this project compiles with Turbopack, which is the default builder in Next 16. Here is what each line is worth.
The option that no longer exists
grep -rl "hideSourceMaps" node_modules/@sentry/ | wc -l # 0
Enter fullscreen mode
Exit fullscreen mode
Zero files. Not in the types, not in the compiled code, nowhere in any @sentry/* package at version 10.66.0.…