mirror of
https://github.com/homarr-labs/dashboard-icons.git
synced 2026-01-13 00:27:20 +08:00
24 lines
882 B
TypeScript
24 lines
882 B
TypeScript
import type { NextConfig } from "next";
|
|
import { withPostHogConfig } from "@posthog/nextjs-config";
|
|
|
|
const nextConfig: NextConfig = {
|
|
cacheComponents: false,
|
|
images: {
|
|
unoptimized: true,
|
|
},
|
|
output: "standalone",
|
|
};
|
|
|
|
export default nextConfig;
|
|
|
|
// export default withPostHogConfig(nextConfig, {
|
|
// personalApiKey: process.env.POSTHOG_API_KEY!, // Personal API Key
|
|
// envId: process.env.POSTHOG_ENV_ID!, // Environment ID
|
|
// host: process.env.NEXT_PUBLIC_POSTHOG_HOST, // (optional), defaults to https://us.posthog.com
|
|
// sourcemaps: { // (optional)
|
|
// enabled: true, // (optional) Enable sourcemaps generation and upload, default to true on production builds
|
|
// project: "dashboardicons", // (optional) Project name, defaults to repository name
|
|
// deleteAfterUpload: true, // (optional) Delete sourcemaps after upload, defaults to true
|
|
// },
|
|
// });
|