From 85759eeb4a2766a3acf6db26a8d2c52309661cc9 Mon Sep 17 00:00:00 2001 From: Andrew Pareles <43356051+andrewpareles@users.noreply.github.com> Date: Wed, 9 Apr 2025 21:17:15 -0700 Subject: [PATCH] Update VOID_CODEBASE_GUIDE.md --- VOID_CODEBASE_GUIDE.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VOID_CODEBASE_GUIDE.md b/VOID_CODEBASE_GUIDE.md index 6810b0d4..f87f163f 100644 --- a/VOID_CODEBASE_GUIDE.md +++ b/VOID_CODEBASE_GUIDE.md @@ -25,8 +25,8 @@ Here is some important terminology you should know if you're working inside VSCo Here's a minimal VSCode rundown if you're just getting started with Void: - VSCode is (and therefore Void is) an Electron app. Electron runs two processes: a **main** process (for internal workings) and a **browser** process (browser means HTML in general, not just "web browser"). -- Code in a `browser/` folder lives in the browser, so it can use window and other browser items -- Code in an `electron-main/` lives on the main process, so it can import node_modules. +- Code in a `browser/` folder lives in the browser, so it can use `window` and other browser items. +- Code in an `electron-main/` lives on the main process, so it can import `node_modules`. - Code in `common/` can be imported by either one. - The browser environment is not allowed to import `node_modules`, but there are two workarounds: 1. Bundle the node_module code and ship it in the browser - we're doing this for React.