Ryan Weaver | Duration: 3h 43m | Video: H264 1280×720 | Audio: AAC 48 kHz 2ch | 1,12 GB | Language: English
In JavaScript, if you’re still manually including each JavaScript file you depend on with a script tag… there’s a better way! ES6 introduced the concept of modules: the ability (finally!) to isolate our JavaScript into small components that live in different files (like we do with classes in JavaScript).
But, to get this to work on the web, we need some help. We need something that’s able to read our imports and aggregate everything we need into a single JavaScript file. We need webpack:
• Using npm… and then yarn for package management
• Webpack setup: package all modules into a single file
• Calling Babel from webpack via a loader
• Webpack dev tools for fast development
• Webpack Hot Reloading!?
• Handling multiple files (“entry points”)
• Using Uglify and prepping for production
• Cache-busting with hashed filenames
• CommonsChunkPlugin: package common modules together
• Loading & Packaging CSS/SCSS & images form JavaScript!?
Password/解压密码0daydown
Download rapidgator
https://rg.to/file/242ac0d81bc142c41d9675b97049da10/Webpack-Module-Awesomeness.part1.rar.html
https://rg.to/file/9a7b59e64a90a57e86d51f10c8221e14/Webpack-Module-Awesomeness.part2.rar.html
Download nitroflare
https://nitroflare.com/view/A5C93E4B50309D4/Webpack-Module-Awesomeness.part1.rar
https://nitroflare.com/view/87DCB886F151E78/Webpack-Module-Awesomeness.part2.rar
转载请注明:0daytown » JavaScript for PHP Geeks: Webpack for Module Loading Awesomeness