Pass process.platform through with Vite

This commit is contained in:
cte 2025-02-10 08:15:58 -08:00
parent c78fbed319
commit 577ebcd8fc

View file

@ -33,4 +33,7 @@ export default defineConfig({
allowedHeaders: "*",
},
},
define: {
"process.platform": JSON.stringify(process.platform),
},
})