mirror of
https://github.com/ajnart/homarr.git
synced 2026-01-30 03:09:19 +01:00
* config: add dockerfile * feat: add working dockerfile for nest and next app with sqlite migration --------- Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
39 lines
934 B
JavaScript
39 lines
934 B
JavaScript
// Importing env files here to validate on build
|
|
import "./src/env.mjs";
|
|
import "@homarr/auth/env.mjs";
|
|
|
|
/** @type {import("next").NextConfig} */
|
|
const config = {
|
|
output: "standalone",
|
|
reactStrictMode: true,
|
|
/** Enables hot reloading for local packages without a build step */
|
|
transpilePackages: [
|
|
"@homarr/api",
|
|
"@homarr/auth",
|
|
"@homarr/db",
|
|
"@homarr/ui",
|
|
"@homarr/validation",
|
|
"@homarr/form",
|
|
"@homarr/notifications",
|
|
"@homarr/spotlight",
|
|
],
|
|
/** We already do linting and typechecking as separate tasks in CI */
|
|
eslint: { ignoreDuringBuilds: true },
|
|
typescript: { ignoreBuildErrors: true },
|
|
experimental: {
|
|
optimizePackageImports: [
|
|
"@mantine/core",
|
|
"@mantine/hooks",
|
|
"@mantine/dates",
|
|
"@mantine/notifications",
|
|
"@mantine/form",
|
|
"@mantine/spotlight",
|
|
],
|
|
},
|
|
images: {
|
|
domains: ["cdn.jsdelivr.net"],
|
|
},
|
|
};
|
|
|
|
export default config;
|