I created my project with "vite": "^4.1.0"
On the local machine, the reach text editor shows up but when I host/build it, I am not able to view the page. The page is all blank. And in the console, it says:
ReferenceError: require is not defined
at index-1e54aaaf.js:193:31693
at Za (index-1e54aaaf.js:38:20704)
at cf (index-1e54aaaf.js:38:21172)
at Object.useState (index-1e54aaaf.js:38:27566)
at QS.Ge.useState (index-1e54aaaf.js:9:6487)
at HD (index-1e54aaaf.js:193:31529)
at QD (index-1e54aaaf.js:193:32289)
at lf (index-1e54aaaf.js:38:19884)
at gf (index-1e54aaaf.js:40:3138)
at Lv (index-1e54aaaf.js:40:45128)
I created my project with "vite": "^4.1.0" On the local machine, the reach text editor shows up but when I host/build it, I am not able to view the page. The page is all blank. And in the console, it says: