Webpack v2 and PostCSS - Intro, Internals and Outlook
Overview of Webpack concepts. New features in Webpack v2. Hints for usage. Suggestions for the finest plugins and more. Presented at RheinNeckar JS in December 14th 2016.
basically any operation. Applied after loading of content. Examples: File Loader Plugin: Referencing and copying assets Extract Text Plugin: Extract referenced styles into CSS chunks
UX by people at Facebook • React Universally: Universal React + Webpack by Sean Matheson • Advanced Boilerplate: +PostCSS +Apollo +Redux by Sebastian Werner
tricky • Light bundling or big bundle • Replace browser modules with „node-noop“ • Assets Plugin for referring to client chunks on server side • Inject „source-map-support“ for source maps in NodeJS
• Smart Import: Multi Format Import • Simple URL: Basic URL Remapping • Assets: Quering for dimensions • Advanced Variables: Conditions, Loops & Variables • Sassy Mixins: Mixins like in Sass • Lost: Probably the best solution for building layouts • Calc: Resolve static calculations during deployment • Easings: Extended collection of named easings • Nested: Flattening of Sass-like nesting • Grid Kiss: Visually create grids using ascii art