mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Like how we handled RSC loader transform before, we also apply swc loader to middleware to make sure the imports optimization is applied so og package won't be bundled Fixes #50492
6 lines
112 B
JavaScript
6 lines
112 B
JavaScript
import { NextResponse } from 'next/server'
|
|
|
|
export async function middleware() {
|
|
return NextResponse.next()
|
|
}
|