init
This commit is contained in:
commit
d295c7f139
1527 files changed
+270726
No files matched your search
@@ -0,0 +1,13 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
// Two lockfiles exist on purpose (repo root + web/), so Next would infer the
|
||||
// repo root as the workspace root. On Windows that misinference can send
|
||||
// Turbopack's postcss workers into an unbounded respawn loop that exhausts
|
||||
// all RAM (vercel/next.js#92978) — pin the root to this app.
|
||||
turbopack: { root: import.meta.dirname },
|
||||
// Allow a throwaway build dir (e.g. BUILD_DIST=.next-prod) so a production
|
||||
// `next build` can run without clobbering a live `next dev` .next.
|
||||
...(process.env.BUILD_DIST ? { distDir: process.env.BUILD_DIST } : {}),
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
Reference in new issue
Block a user