Webpack 2 Deep Dive Webpack 2 Deep Dive

Transpiling with Babel

The first loader Kent uses is the Babel loader. The babel loader will look for any file with a “.js” extension and pipe it though the babel loader. Kent also talks about how to exclude JavaScript files in the node_modules directory. Code for the example is located on the FEM/01.4-transpile branch. - http://slides.com/kentcdodds/webpack-deep-dive#/10/1
Get Unlimited Access Now