rewrite-url.js:16 Uncaught ReferenceError: process is not defined
at node_modules/clean-css/lib/reader/rewrite-url.js (rewrite-url.js:16:17)
at __require2 (chunk-6FBSFQRG.js?v=7779ef7f:18:50)
at node_modules/clean-css/lib/reader/rebase.js (rebase.js:3:18)
at __require2 (chunk-6FBSFQRG.js?v=7779ef7f:18:50)
at node_modules/clean-css/lib/reader/read-sources.js (read-sources.js:9:14)
at __require2 (chunk-6FBSFQRG.js?v=7779ef7f:18:50)
at node_modules/clean-css/lib/clean.js (clean.js:25:19)
at __require2 (chunk-6FBSFQRG.js?v=7779ef7f:18:50)
at node_modules/clean-css/index.js (index.js:1:18)
at __require2 (chunk-6FBSFQRG.js?v=7779ef7f:18:50)
I've this error in Vite project
Steps: 1
npm create vite
-> React -> TypeScript+SWC (and without SWC) 2yarn add mjml mjml-react
3 Added this example to App.tsxResult