Boilerplates & CRA are great to get us started without worrying much about the build step. But, often this leaves a hole in our understanding of how the code we write transforms into the code that executes on our visitors’ browsers.

This post contains code snippets with vanilla JavaScript to explain how & what babel & webpack work. Things like:

– how do webpack loaders & plugins differ

– how does importing babel polyfill differ from using babel-preset-env

r/webdev - Babel & Webpack fundamentals (minus all the React, Vue, etc framework stuff)

Source link

Write A Comment