Files
Jiachi LiuandGitHub 2bc1061609 Apply optimization to middleware when using babel (#51067)
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
2023-06-09 13:33:14 -07:00

6 lines
112 B
JavaScript

import { NextResponse } from 'next/server'
export async function middleware() {
return NextResponse.next()
}