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
The HMR does not work with a weird message that jQuery is not loaded - my best guess is that VS does not inject the required code.
I think we can improve (1) to the point that there is a property "AllowBlazor" or "IsBlazorProcess" (or similar). When this property is set we introduce a preload script that will set process to undefined, leading to Blazor as it should.
For (2) I am still looking why exactly we run into this and what we can do to improve it. Will be also coming in.
Yeah I can make (2) also work like (1) - reason was that jQuery (which is part of browserLink) has a check to detect if its running in a CJS system. As module is also defined by Electron this was not working. Essentially same fix -> global.process = undefined; global.module = undefined.
Activity
FlorianRappl commentedon Nov 14, 2025
I got it working pretty much out of the box. There is just two things:
I think we can improve (1) to the point that there is a property "AllowBlazor" or "IsBlazorProcess" (or similar). When this property is set we introduce a preload script that will set
processtoundefined, leading to Blazor as it should.For (2) I am still looking why exactly we run into this and what we can do to improve it. Will be also coming in.
FlorianRappl commentedon Nov 14, 2025
Yeah I can make (2) also work like (1) - reason was that jQuery (which is part of
browserLink) has a check to detect if its running in a CJS system. Asmoduleis also defined by Electron this was not working. Essentially same fix ->global.process = undefined; global.module = undefined.FlorianRappl commentedon Nov 14, 2025
Rolled out 0.2.0-pre.200:
Release ETA is Monday.