Modules | webpack
webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable of transforming, bundling, or packaging just about any resource or asset.
In modular programming, developers break programs up into discrete chunks of functionality called a module. Each module has a smaller surface area than a full program, making verification, debugging, and testing trivial. Well-written modules provide solid abstractions and encapsulation boundaries, so that each module has a coherent design and a clear purpose within the overall application. Node.js has supported modular programming almost since its inception. On the web, however, support for modules has been slow to arrive. Multiple tools exist that support modular JavaScript on the web,…
saved by
related reading
- CommonJS规范 -- JavaScript 标准参考教程(alpha)javascript.ruanyifeng.com
- 你真的需要 Webpack DllPlugin 吗? - 卤蛋实验室cnblogs.com
- Demystifying Code Bundling with JavaScript Modules - Simple Threadsimplethread.com
- Modules :: Eloquent JavaScripteloquentjavascript.net
- rsmsrsms.me
- ES modules: A cartoon deep-dive - Mozilla Hacks - the Web developer bloghacks.mozilla.org
- TypeScript: Documentation - Modulestypescriptlang.org
- CommonJS effort sets JavaScript on path for world domination - Ars Technicaarstechnica.com
- Build your own WebAssembly Compilerblog.scottlogic.com
- GitHub - emscripten-core/emscripten: Emscripten: An LLVM-to-WebAssembly Compilergithub.com
- The Descent — What Happened to the Frontend While You Weren't Watchingdavidpoblador.com
- void(0)voidzero.dev