hemstreet / WebPackFunds

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Webpack Fundamentals Course

This is off of Joe Eames Pluralsight Course Webpack Fundamentals up to loading images.

Setup

$ npm install
$ webpack-dev-server

Server should be running at http://localhost:8080/webpack-dev-server/

Useful Webpack Commands

  • webpack -p
    • minifies code
  • webpack --config webpack-production.config.js
    • can specify which config file to use
  • webpack-dev-server --inline
    • runs auto reloading without status bar
    • must go to just the base url (localhost:8080)
  • webpack -d or webpack-dev-server -d
    • generates source maps for javascript files
    • used when debugging in browser

About


Languages

Language:HTML 63.1%Language:JavaScript 30.0%Language:CSS 6.9%