Merge pull request #919 from RooVetGit/cte/vite-process-platform

Pass process.platform through with Vite
This commit is contained in:
Matt Rubens 2025-02-10 11:26:13 -05:00 committed by GitHub
commit b194408d03
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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