From cdd3b22c2c93dc7c9727a3f1f289e25e32748f30 Mon Sep 17 00:00:00 2001 From: Pedro Cattori Date: Sun, 14 Jan 2024 14:46:16 -0500 Subject: [PATCH] vite: realistic example for `process` in client --- docs/future/vite.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/future/vite.md b/docs/future/vite.md index ba2f3f07157..723757532a7 100644 --- a/docs/future/vite.md +++ b/docs/future/vite.md @@ -726,7 +726,7 @@ If you see errors in the browser console during development that point to server For example, if you see something like: ```shellscript -ERROR: `process` is undefined +Uncaught ReferenceError: process is not defined ``` Then you'll need to track down which module is pulling in dependencies that except server-only globals like `process` and isolate code either in a [separate `.server` module or with `vite-env-only`][explicitly-isolate-server-only-code].