-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
require is not defined createReactEditorJS #207
Comments
Hey mate, not the maintainer by any means of the imagination but you can fix this by using In your vite.config.(t/j)s you should have something like this:
And your imports should work as something like this
I just got faced with the same problem and just fixed it rn. Hope it helps, |
@WildEgo THANK YOU SO MUCH!!! Works perfect! |
ref: #236 |
if that does not work, you can just add this to your vite config file
so something like this:
|
Bug discription
after building
Uncaught ReferenceError: require is not defined createReactEditorJS
The text was updated successfully, but these errors were encountered: