Open History to see the last commit
1// Windows installs need Linux x64 glibc binaries because WSL shares node_modules.
2// Keep other platforms native; release scripts set their own architectures.
3module.exports = {
4 hooks: {
5 updateConfig(config) {
6 // oxlint-disable-next-line t3code/no-global-process-runtime -- pnpm loads this file before any Effect runtime exists.
7 if (process.platform !== "win32") return config;
8 return {
9 ...config,
10 supportedArchitectures: {
11 os: ["current", "linux"],
12 cpu: ["current", "x64"],
13 libc: ["current", "glibc"],
14 },
15 };
16 },
17 },
18};