initial commit: fork
This commit is contained in:
21
apps/dashboard/next.config.mjs
Normal file
21
apps/dashboard/next.config.mjs
Normal file
@@ -0,0 +1,21 @@
|
||||
// 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;
|
||||
Reference in New Issue
Block a user