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
{{ message }}
This repository was archived by the owner on Jun 2, 2026. It is now read-only.
This issue might sound boring, but it's one of Void's most important unresolved issues.
In the build instructions, we run npm run buildreact to compile all the files in react/src/*.tsx into react/out/*.js. We then we import those files elsewhere. This is not a great way of working with React because we need to re-build every time we change a React file.
We have two options to fix this problem:
Figure out how to allow global imports like 'react' in the browser/ environment so we don't have to build React ourselves. This was possible in vscode's previous yarn edition, and would be the ideal solution.
Or, keep bundling the way we do now, but don't crash the build script - this probably means moving build.js's contents into gulpfile.js watch-client.
This issue might sound boring, but it's one of Void's most important unresolved issues.
In the build instructions, we run
npm run buildreactto compile all the files inreact/src/*.tsxintoreact/out/*.js. We then we import those files elsewhere. This is not a great way of working with React because we need to re-build every time we change a React file.We have two options to fix this problem:
build.js's contents intogulpfile.js watch-client.