-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Latest release break webpack because of class field declarations #2265
Comments
Our own joi build works though, could it be your config that's wrong? |
Most likely it works in your case because you are down levelling using |
This version of joi (17.0.0) also does not work with node < v12 (in my case node v10.16.3), because class field declarations are available only in node > v12.x |
Well yes, it's explicitly written in the breaking changes, don't bump without reading what breaks. |
@alan-agius4 is it a problem to stick to 16 anyway? No one is forcing you to upgrade if you're not ready. |
It is clearly documents and released as a major. This is how JS works - you use the versions of things that fit your setup. |
Support plan
@hapi/inerit
build: update @hapi/inert to version 6.0.3 angular/universal#1434Context
What are you trying to achieve or the steps to reproduce?
Try to bundle with @hapijs/joi.
What was the result you got?
What result did you expect?
That it works, maybe until webpack supports ES6 class fields declarations, revert the change?
The text was updated successfully, but these errors were encountered: