-
Notifications
You must be signed in to change notification settings - Fork 92
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
Class constructor Transition/Renderer cannot be invoked without 'new' #33
Comments
Hello @ivandaum can you provide us some more informations about your Highway version ? Maybe try an update of it in case your version is behind ? Thanks for you input, Thao |
Hi @ThaoD5, I'm currently using Higthway 2.0.8. |
It could be interesting to have your |
My bad, I managed to understand what you meant in #6 and fixed it (I thought the es5 build was auto-implement with the alias)! For those who, like me, has trouble to understand, it can be fix by adding the follow line in your webpack, after the
Anway, thanks a lot guys! |
@ivandaum glad you found a solution for this, thanks for maybe enlightening other people that could have the same issue :) Have a good day ! |
@ivandaum I found a better solution to your problem. In your case you exclude completely I prefer to import the right file into javascript:
In the documentation:
😊👋 |
Hi guys,
I was trying to follow the dummy tutorial with Hightway to implement a simple transition between two pages, but I met the same issue as #6. I'm using Webpack 4 with the UglifyJs plugin.
For the record, I added a
resolve
with'build/es5/highway.min.js'
in my webpack, and even copied your babel configuration, but it don't seem to fix the issue (not a pro user of Webpack though).Do you know why I meet this error? Anyway, Hightway looks great an I can't wait to implement it everywhere 🔥!
The text was updated successfully, but these errors were encountered: