fix: rename postcss.config.js to postcss.config.cjs for compatibility
This commit is contained in:
@@ -79,6 +79,7 @@ msg_ok "Set up Python Environment"
|
|||||||
|
|
||||||
msg_info "Building Frontend"
|
msg_info "Building Frontend"
|
||||||
cd /opt/bunkerm/frontend
|
cd /opt/bunkerm/frontend
|
||||||
|
[[ -f postcss.config.js ]] && mv postcss.config.js postcss.config.cjs
|
||||||
export NODE_OPTIONS="--max-old-space-size=4096"
|
export NODE_OPTIONS="--max-old-space-size=4096"
|
||||||
AUTH_SECRET="build-time-placeholder" NEXT_TELEMETRY_DISABLED=1 $STD npm install
|
AUTH_SECRET="build-time-placeholder" NEXT_TELEMETRY_DISABLED=1 $STD npm install
|
||||||
AUTH_SECRET="build-time-placeholder" NEXT_TELEMETRY_DISABLED=1 $STD npm run build
|
AUTH_SECRET="build-time-placeholder" NEXT_TELEMETRY_DISABLED=1 $STD npm run build
|
||||||
|
|||||||
Reference in New Issue
Block a user