mirror of
https://github.com/ajnart/homarr.git
synced 2026-01-30 03:09:19 +01:00
* chore(deps): update dependency eslint to v9 * chore: migrate eslint to v9 * fix: dependency issues * fix: unit tests not working * chore: disable lint check for Image component that does not work in ci * fix: lint issue --------- Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com> Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
29 lines
817 B
JavaScript
29 lines
817 B
JavaScript
// Importing env files here to validate on build
|
|
import "@homarr/auth/env.mjs";
|
|
import "./src/env.mjs";
|
|
|
|
/** @type {import("next").NextConfig} */
|
|
const config = {
|
|
output: "standalone",
|
|
reactStrictMode: true,
|
|
/** We already do linting and typechecking as separate tasks in CI */
|
|
eslint: { ignoreDuringBuilds: true },
|
|
typescript: { ignoreBuildErrors: true },
|
|
webpack: (config) => {
|
|
config.module.rules.push({
|
|
test: /\.node$/,
|
|
loader: "node-loader",
|
|
});
|
|
return config;
|
|
},
|
|
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"],
|
|
},
|
|
};
|
|
|
|
export default config;
|