antilarps
Open in Telegram
482
Subscribers
-124 hours
+37 days
+1830 days
Posts Archive
482
Overriding
load() would break the shim's relative imports because paths resolve against crypto-browserify's directory. Using resolveId alone is safer. Matching crypto-browserify in resolveId should redirect correctly. If that hook is skipped, the alias from node-stdlib-browser may apply earlier in the config.
I'll mutate the Vite alias array directly inside configResolved. This forces crypto, node:crypto, and