Skip to content
Open
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion webapp/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ const nextConfig = {
productionBrowserSourceMaps: isDev,
trailingSlash: false,
output: isDev ? 'standalone' : 'export',
distDir: 'build/web/',
// `npm run build` and `next dev` share this directory, so a gradle build (which runs the former as part
// of :webapp:runTestServer) wipes a running dev server's manifests. Point the dev server elsewhere.
distDir: process.env.NEXT_DIST_DIR || 'build/web/',
images: {
unoptimized: true,
},
Expand Down
Loading
Loading