Webpack is a module bundler that bundles javascript and other assets for the browser. It works really well for applications and javascript libraries and is very simple frontend build tool.
Nice. Please do another follow-up and compare it with browserify maybe. I was thinking about browserify, but now webpack looks intersting too.
We'll see... There are a lot of other lessons I need to record. In the mean time, I recommend checking out some blogposts and just making a choice. Personally, I think the webpack community will win over browserify, but that's yet to be seen.
Any lesson talk about how to use Webpack with Angularjs and Node.js project?
Yes for Webpack + Angular: https://egghead.io/series/angular-and-webpack-for-modular-applications :-)
Very useful intro - many thanks for this. Given that many lessons on egghead now assume familiarity with webpack, I am surprised that this intro was quite hard to find. Any chance of making this a more visible stand-alone lesson? Thanks again and keep 'em coming.
Maybe so! I have a playlist for all my Webpack lessons on Egghead: https://kcd.im/egghead-webpack
Could not get 'webpack' command to work on command line: (Windows 7-MINGW64) - bash: webpack: command not found
$ npm -v 4.2.0 $ node -v 6.9.5
Added npm script to 'package.json'.
"scripts": { "start": " webpack --config webpack.config.js" },
$ npm start
Sorry, bu after this "intro" I dont't know what webpack is and why i need webpack. You can presuppose any knowledge for your courses, but not in an intro!
github repo: https://github.com/kentcdodds/egghead-webpack-lessons