Sunday 14 May 2017

Webpack, babel and npm-modules ignore

While using babel it's recommended to ignore npm-modules folder. But then those libraries in npm-modules are not passing through babel and as result you get code some of which complies with babel presets and some not. For example, if one wants to target ES5, that will not work if any of the libraries in npm-modules are not ES5 compliant.

What is the recommended way?



via husayt

No comments:

Post a Comment