Files
Master-Bot/apps/dashboard/next.config.mjs
2023-10-27 10:31:20 +02:00

22 lines
610 B
JavaScript

// Importing env files here to validate on build
import './src/env.mjs';
import '@master-bot/auth/env.mjs';
/** @type {import("next").NextConfig} */
const config = {
reactStrictMode: true,
/** Enables hot reloading for local packages without a build step */
transpilePackages: ['@master-bot/api', '@master-bot/auth', '@master-bot/db'],
/** We already do linting and typechecking as separate tasks in CI */
eslint: { ignoreDuringBuilds: true },
typescript: { ignoreBuildErrors: true },
images: {
domains: ['cdn.discordapp.com']
},
experimental: {
serverActions: true
}
};
export default config;