xMandarin / baerner_js_webpack

Demo setup for Webpack Dlls and separate build configs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bärner JS Webpack talk

This is a litte demo setup for my talk at Bärner JS on 17.10.2016.

It shows a few tricks for using webpack in projects with lot's of vendor code:

  • Webpack Dlls
  • Separating Dev/Vendor/Production builds

Scripts

# first things first
npm install

# build dev once
npm run build
# watch files for changes
npm run watch
# build vendor lib
npm run build-vendor
# build production file
npm run build-prod

About

Demo setup for Webpack Dlls and separate build configs


Languages

Language:JavaScript 94.8%Language:HTML 5.2%