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
Copy file name to clipboardExpand all lines: POS/README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,10 @@ The development server is configured to proxy your frappe app (usually running o
41
41
If you notice the browser URL is `/frontend`, this is the base URL where your frontend app will run in production.
42
42
To change this, open `src/router.js` and change the base URL passed to `createWebHistory`.
43
43
44
+
## Source maps in production builds
45
+
46
+
Production builds omit JavaScript source maps by default to keep bundle sizes small. If you need source maps for debugging a specific deployment, set the environment variable `POS_NEXT_ENABLE_SOURCEMAP=true` before running the build command. Any value other than the string `"true"` will keep source maps disabled.
0 commit comments