Date post: | 20-Mar-2017 |
Category: |
Technology |
Upload: | raymond-mcdermott |
View: | 70 times |
Download: | 0 times |
WebpackJust Copy and Paste the configs on GitHub
The History of JavaScript … jk
WATpackAn advanced module bundler… and more
Performance and Integrations
Custom fit for your application’s needs
webpack ./app.js app.bundle.js
Loaders
var moduleWithOneLoader = require("my-loader!./my-awesome-module");
require("loader?with=parameter!./file");
Config
Plugins
webpack-dev-server
Code Splitting
Code Splitting
Multiple Entries
Production Configs
“This is my webpack.config.js. There are many like it, but this one is mine.”
Resourceshttps://webpack.github.io/docs/
https://github.com/petehunt/webpack-howto
https://medium.com/@dabit3/beginner-s-guide-to-webpack-b1f1a3638460#.92lbl2myh
http://jonathancreamer.com/advanced-webpack-part-1-the-commonschunk-plugin/
http://jonathancreamer.com/advanced-webpack-part-2-code-splitting/
http://survivejs.com/webpack/advanced-techniques/understanding-chunks/
https://medium.com/@dtothefp/why-can-t-anyone-write-a-simple-webpack-tutorial-d0b075db35ed#.irh9sqwg4