Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Webpack, Gulp, and Babel, Oh My!

jakedohm
September 27, 2018

Webpack, Gulp, and Babel, Oh My!

In the fast-paced front-end development landscape, it can feel overwhelming to try to keep up with all of the new shiny tooling. In this talk, we'll do a fly-over of the most common and popular build tools for all things front-end (CSS, JS, etc.). You'll walk away with a high-level understanding of what each tool does, and when you should reach for it.

jakedohm

September 27, 2018
Tweet

Other Decks in Programming

Transcript

  1. Modern Front-End Dev Tools 1. Build tools (task runners &

    bundlers) 2. Compilers (Babel) 3. Polyfills (cross-browser compatibility) 4. Pre-processors (LESS/SASS)
  2. Compatibility For? ✨ Shiny new language features (like ES6+) Pre-processed

    languages like SASS,
 LESS, TypeScript, and CoffeeScript
  3. Task runners are a way to automate repetitive tasks, in

    a declarative step-by-step manner.
  4. “Babel is a toolchain that is mainly used to convert

    ECMAScript 2015+ code into a backwards compatible version of JavaScript in current and older browsers or environments.”
  5. • Task Runners: Use Babel as a plugin • Bundlers:

    Use Babel as a loader Integrating Babel Into Your Build Toolchain
  6. “A polyfill is a piece of code that provides the

    technology that you expect the browser to provide natively.”
  7. Polyfills are necessary because there are some new features that

    are so completely different, that they cannot be (reasonably) compiled to ES5 code.
  8. • Task Runners: Use SASS/LESS as a plugin • Bundlers:

    Use SASS/LESS as a loader Installation/Usage