Fix the next.out directory issue.
Usage
Install package
pnpm dlx shadcn@latest add https://zerocn.zeroopensource.org/r/fix-next-out.jsonInstall package (workspace)
pnpm --filter=$WORKSPACE shadcn add https://zerocn.zeroopensource.org/r/fix-next-out.jsonAdd script
{
"scripts": {
"build": "next build && pnpm fix:next-out",
"fix:next-out": "tsx src/lib/fix-next-out.ts",
}
}