You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tar -xz --strip-components=1 -C /usr/local/lib/node_modules/npm -f /tmp/npm.tgz && \
22
+
rm /tmp/npm.tgz && \
23
+
rm -rf /var/cache/apk/*
19
24
20
25
# ===============================
21
26
# 1. Dependencies layer
@@ -161,7 +166,7 @@ RUN --mount=type=secret,id=sentry_token \
161
166
# runtime caching strategies (NetworkFirst, CacheFirst, StaleWhileRevalidate) can only serve previously cached resources offline (full offline support would require precaching or explicit caching logic)
162
167
RUN if [ ! -f "public/sw.js" ]; then \
163
168
echo "Compiling service worker from src/sw.ts..."; \
Copy file name to clipboardExpand all lines: docs/DEVELOPER_GUIDE.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ npm run dev:https
69
69
These variables are **not required** for local development but enable additional behaviour when set.
70
70
71
71
| Variable | Default | Description |
72
-
|---|---|---|
72
+
|---|---|---|
73
73
|`NEXT_PUBLIC_ENABLE_SW_IN_DEV`|`""` (disabled) | Set `"true"` to enable the service worker in development mode (useful for testing PWA/offline behaviour). |
74
74
|`ENABLE_PUBLIC_BROWSER_SOURCEMAPS`|`""` (disabled) | Set `"true"` to serve JS source maps publicly in production builds (opt-in — see note below). |
75
75
|`FORCE_STRICT_CSP`|`""` (disabled) | Set `"true"` to enforce production-like strict CSP in development (useful for reproducing CSP violations locally). |
0 commit comments