import type { NextConfig } from "next";

const nextConfig: NextConfig = {
  // Auth SPA (localStorage + client hooks) — Cache Components / PPR prerender
  // breaks useParams / useAuth pages; keep classic client routing.
  turbopack: {
    rules: {
      "*.css": {
        loaders: ["@tailwindcss/turbopack"],
        as: "*.css",
      },
    },
  },
};

export default nextConfig;
