482
订阅者
-124 小时
+37 天
+1830 天
帖子存档
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