gtgalone / react-quilljs

React Hook Wrapper for Quill, powerful rich text editor.
https://www.npmjs.com/package/react-quilljs
MIT License
247 stars 28 forks source link

ReferenceError: require is not defined #90

Closed Niraj-Dilshan closed 4 months ago

Niraj-Dilshan commented 4 months ago

image image

I'm using vite to build my react project this works fine until the build, after the build getting this error. Im using version: 2.0.3(quill@2.0.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)

image

rodrigore commented 4 months ago

I replied in a closed issue where I did this solution: https://github.com/gtgalone/react-quilljs/issues/85#issuecomment-2239042095