refactor: route low-cost next modules through compat re-exports (#33622)

This commit is contained in:
yyh
2026-03-18 10:37:29 +08:00
committed by GitHub
parent bbe975c6bc
commit d7f70f3c0f
34 changed files with 66 additions and 33 deletions

View File

@@ -1,7 +1,7 @@
import type { NextRequest } from 'next/server'
import type { NextRequest } from '@/next/server'
import { Buffer } from 'node:buffer'
import { NextResponse } from 'next/server'
import { env } from '@/env'
import { NextResponse } from '@/next/server'
const NECESSARY_DOMAIN = '*.sentry.io http://localhost:* http://127.0.0.1:* https://analytics.google.com googletagmanager.com *.googletagmanager.com https://www.google-analytics.com https://api.github.com https://api2.amplitude.com *.amplitude.com'