Files
Homarr/apps/nextjs/next.config.mjs

32 lines
727 B
JavaScript
Raw Normal View History

2023-12-08 22:35:15 +01:00
// Importing env files here to validate on build
import "./src/env.mjs";
import "@homarr/auth/env.mjs";
2023-12-08 22:35:15 +01:00
/** @type {import("next").NextConfig} */
const config = {
output: "standalone",
2023-12-08 22:35:15 +01:00
reactStrictMode: true,
/** We already do linting and typechecking as separate tasks in CI */
eslint: { ignoreDuringBuilds: true },
typescript: { ignoreBuildErrors: true },
experimental: {
optimizePackageImports: [
"@mantine/core",
"@mantine/hooks",
"@tabler/icons-react",
],
},
transpilePackages: [
"@homarr/ui",
"@homarr/notifications",
"@homarr/modals",
"@homarr/spotlight",
"@homarr/widgets",
],
images: {
domains: ["cdn.jsdelivr.net"],
},
2023-12-08 22:35:15 +01:00
};
export default config;