mirror of
https://github.com/langgenius/dify.git
synced 2026-04-05 10:12:43 +08:00
refactor: route low-cost next modules through compat re-exports (#33622)
This commit is contained in:
1
web/next/dynamic.ts
Normal file
1
web/next/dynamic.ts
Normal file
@@ -0,0 +1 @@
|
||||
export { default } from 'next/dynamic'
|
||||
1
web/next/headers.ts
Normal file
1
web/next/headers.ts
Normal file
@@ -0,0 +1 @@
|
||||
export { cookies, headers } from 'next/headers'
|
||||
1
web/next/index.ts
Normal file
1
web/next/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export type { NextConfig, Viewport } from 'next'
|
||||
1
web/next/script.ts
Normal file
1
web/next/script.ts
Normal file
@@ -0,0 +1 @@
|
||||
export { default } from 'next/script'
|
||||
2
web/next/server.ts
Normal file
2
web/next/server.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
export { NextResponse } from 'next/server'
|
||||
export type { NextRequest } from 'next/server'
|
||||
Reference in New Issue
Block a user