Learn how you can install webpack using npm. Simply by running npm install webpack, you can add webpack to your project and use it for building your files.
- [Instructor] To get started working with Webpack,…we'll set up our Webpack project.…We'll be using NPM for this, the Node Package Manager.…NPM allows us to install packages…that have been created by companies or individuals…to use in our own projects.…Webpack is an example of one of these NPM packages.…So first, I'm gonna navigate to 01_02 here in my terminal,…so we'll just say cd chapter one, 01_02.…Great.…
And then next I'm going to make sure that node…is installed, so let's run node -v.…That'll tell us what version we're using.…And with my installation of node, I have NPM there as well,…so let's run npm -v, and we should see 5.3.…Any version that you have over about version 4…should be fine for this class, so don't feel…that you have to update if you are a version…behind me, or don't feel like you have to roll back…if you're ahead of me.…So the next thing I want to do here inside of 01_02,…actually, I need to navigate to my start folder.…
So let's do that first.…So we're in 01_02 start, and I want to run npm init.…
- What is webpack?
- Running webpack from the command line
- Setting up loaders
- Loading CSS
- Compiling SCSS
- Using webpack plugins