3 ms·
Many libraries that use ES6 features distribute the transpiled version through npm or GitHub. If they don't, you can just transpile the library using Webpack th
by octalmage 9y ago
Many libraries that use ES6 features distribute the transpiled version through npm or GitHub. If they don't, you can just transpile the library using Webpack then use that.
Or you could use codemods to update your code base in an automated way. See: https://github.com/cpojer/js-codemod https://github.com/cpojer/js-codemod