https://github.com/chlab/baerner_js_webpack
Demo setup for Webpack Dlls and separate build configs
https://github.com/chlab/baerner_js_webpack
Last synced: about 2 months ago
JSON representation
Demo setup for Webpack Dlls and separate build configs
- Host: GitHub
- URL: https://github.com/chlab/baerner_js_webpack
- Owner: chlab
- Created: 2016-10-17T13:01:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-17T13:03:12.000Z (over 9 years ago)
- Last Synced: 2025-02-28T12:02:34.355Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 148 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```bash
# 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
```