Open mjnks opened 1 year ago
process.env returns a runtime error when using vite:
Uncaught ReferenceError: process is not defined at node_modules/assert-plus/assert.js (assert.js:211:30)
this is due to vite dropping process.env in https://github.com/vitejs/vite/commit/8ad7ecd1029bdc0b47e55877db10ac630829c7e5.
process.env returns a runtime error when using vite:
Uncaught ReferenceError: process is not defined at node_modules/assert-plus/assert.js (assert.js:211:30)
this is due to vite dropping process.env in https://github.com/vitejs/vite/commit/8ad7ecd1029bdc0b47e55877db10ac630829c7e5.