690530:1206 ADR-030-231-ocr-sandbox-two-step-flow #03
This commit is contained in:
+1
-1
@@ -83,7 +83,7 @@ ENV NEXT_TURBOPACK=0
|
||||
# nested App Router paths. Redirect .next output to ultra-short root path /n
|
||||
# to minimise overlay nesting depth, then move back after build completes.
|
||||
RUN mkdir /n && ln -s /n .next && \
|
||||
pnpm run build -- --webpack && \
|
||||
pnpm run build && \
|
||||
rm .next && mv /n .next
|
||||
|
||||
# Verify build was created
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"build": "next build",
|
||||
"build": "next build --webpack",
|
||||
"start": "next start",
|
||||
"lint": "eslint . --max-warnings 0",
|
||||
"format": "prettier --write .",
|
||||
|
||||
Reference in New Issue
Block a user