We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 725e96e commit d01e487Copy full SHA for d01e487
next.config.ts
@@ -157,4 +157,13 @@ export default withSentryConfig(nextConfig, {
157
authToken: process.env.SENTRY_AUTH_TOKEN,
158
// Only print logs for uploading source maps in CI
159
// silent: !process.env.CI,
160
+
161
+ // 以下の設定を追加してサイズを削減
162
+ bundleSizeOptimizations: {
163
+ excludeDebugStatements: true,
164
+ excludeTracing: true,
165
+ excludeReplayIframe: true,
166
+ excludeReplayShadowDom: true,
167
+ excludeReplayWorker: true,
168
+ },
169
});
0 commit comments