CI/CD (dev on branch, prod on tag) / build-and-deploy (push) Successful in 20m35s
19 lines
389 B
TypeScript
19 lines
389 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
// Self-contained server bundle (.next/standalone) for the Docker image.
|
|
output: "standalone",
|
|
cacheComponents: true,
|
|
partialPrefetching: true,
|
|
turbopack: {
|
|
rules: {
|
|
"*.css": {
|
|
loaders: ["@tailwindcss/turbopack"],
|
|
as: "*.css",
|
|
},
|
|
},
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|