// 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;