Reduce transpiled code helpers with babel and webpack
I had the same question some time ago, and there is clear answer in documentation:
https://babeljs.io/docs/en/babel-runtime
In webpack config you can do it just as 'babel?optional=runtime'
I had the same question some time ago, and there is clear answer in documentation:
https://babeljs.io/docs/en/babel-runtime
In webpack config you can do it just as 'babel?optional=runtime'