-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
preact/debug
error only in v8.2.6
#924
Comments
I'm also having the same issue |
The I'm not sure what could be a viable long term solution for this. For now you can just add
to the alias section of your webpack config. |
The solution would be to not use |
The solution in original I'm not sure, but there possible could be an issue with webpack if we are going to use |
@whitetrefoil you don't have to guard |
Might be worth just wrapping the render override in a try/catch. We can inject it in Webpack 2. |
That's webpack 2+, not only wepback 2. |
The thing what you did is not a fix. |
We can't really work around this though - the object returned from |
I think there should be a way. I'll take a look into that later this week. |
came across same problem, i think we should at least add some notice in Readme. |
After upgraded my project from [email protected] to v8.2.6, I had this error when loading the page:
If I stop requiring
preact/debug
it would be OK. I require it like this:When using v8.2.5 it was all good.
I'm using only preact with
webpack@2
withoutpreact-compat
or any react related stuff.The text was updated successfully, but these errors were encountered: