-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Webpack target ES5 #18
Comments
Hey @rtalon83, I will do my best to help you, is your project open source? It would help me if I could reproduce. Regards |
Hi again! Thanks for your quick response. I found the solution. If you want to see more details about my project I can write it here. |
Thank you for the detail, I am currently actively working on v2 that will be a major update over v1. |
Hi!
First, congratulations for this library.
I'm making another library where there are extended classes from Evt. I use rollup to build with params:
rollup -> format: es
tsconfig -> module: ES2015, target: ES6
This library run ok!
Then, I use this library in other project under webpack.
Some params are:
tsconfig -> target: ES5
webpack build ok!
But running my final app there is a error:
TypeError: Class constructor MyClass cannot be invoked without 'new'
What is the problem?
Thanks!
The text was updated successfully, but these errors were encountered: