Check out a free preview of the full Creating an Open Source JavaScript Library on Github course:
The "Adding & Configuring Webpack" Lesson is part of the full, Creating an Open Source JavaScript Library on Github course featured in this preview video. Here's what you'd learn in this lesson:

Kent walks through how to add Webpack along with the Babel and JSON loaders. He then creates the build scripts necessary for building the application with Babel and building the UMD version of the library. All the build scripts are joined with an “npm-run-all” script that will execute them in parallel. The code for this example is on the FEM/08.0-browser-build branch. - http://slides.com/kentcdodds/write-oss#/11/1

Get Unlimited Access Now