-
Notifications
You must be signed in to change notification settings - Fork 210
Open
Description
It seems like vinext are not working with rewrites properly:
https://nextjs.org/docs/app/api-reference/config/next-config-js/rewrites
Our config:
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
devIndicators: false,
output: "standalone",
reactCompiler: true,
reactStrictMode: true,
turbopack: {
rules: {
"*.css": {
loaders: ["@tailwindcss/webpack"],
},
},
},
typedRoutes: true,
typescript: {
ignoreBuildErrors: true,
},
async rewrites() {
// These pages are static HTML pages that handle auth flows.
// We can hide the .html suffix when being accessed.
return [
{
source: "/auth/no-access",
destination: "/auth/no-access.html",
},
{
source: "/auth/automatic-sign-in",
destination: "/auth/automatic-sign-in.html",
},
{
source: "/auth/signed-out",
destination: "/auth/signed-out.html",
},
];
},
};
export default nextConfig;
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels