tritowntim / packweb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

packweb

Simplest possible use of webpack

node_modules/.bin/webpack app/main.js public/bundle.js

main.js is the entry point, bundle.js is the output

Loaders vs Plugins

  • loaders deal with each source file, one at a time, as loaded
  • plugins influence the build process as a whole instead of individual source files

About


Languages

Language:JavaScript 76.4%Language:CSS 16.5%Language:HTML 7.1%