hapijs / hoek

Node utilities shared among the extended hapi universe
Other
480 stars 171 forks source link

Error when running Uglify/compilers (because of ES6) #259

Closed kazzkiq closed 6 years ago

kazzkiq commented 6 years ago

Since this package uses ES6 and do not provides an ES5 version for packages that needs it, any project relying on it in front-end (such as Joi) will have trouble minifying/bundling with tools like Uglify (which do not accept ES6).

Is it possible to ship an ES5 version too in order for those packages to work?

hueniverse commented 6 years ago

No. You can do it yourself. If you search the issues you will find many discussions about this.

lock[bot] commented 4 years ago

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.