Webpack: Difference between revisions
No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
[[Node.js]] is required for installing Webpack. Another important aspect about Webpack is that it is highly extensible via the use of loaders. Loaders allow developers to write custom tasks that they want to perform when bundling files together. |
[[Node.js]] is required for installing Webpack. Another important aspect about Webpack is that it is highly extensible via the use of loaders. Loaders allow developers to write custom tasks that they want to perform when bundling files together. |
||
Webpack uses a config file with the default filename webpack.config.js to define loaders, plugins, etc, for a project. [https://webpack.jakoblind.no/ webpack config tool] simplifies the process of creating the config file. |
Webpack uses a config file with the default filename webpack.config.js to define loaders, plugins, etc, for a project. [https://webpack.jakoblind.no/ webpack config tool] simplifies the process of creating the config file.Webpack [https://www.indeedseo.com Indeedseo] |
||
Webpack provides [[code on demand]] using the moniker ''code splitting''. The Technical Committee 39 for ECMAScript is working on standardization of a function that loads additional code: [https://github.com/tc39/proposal-dynamic-import proposal-dynamic-import]. |
Webpack provides [[code on demand]] using the moniker ''code splitting''. The Technical Committee 39 for ECMAScript is working on standardization of a function that loads additional code: [https://github.com/tc39/proposal-dynamic-import proposal-dynamic-import]. |
Revision as of 10:58, 26 October 2018
Developer(s) | Tobias Koppers, Sean Larkin, Johannes Ewald, Juho Vepsäläinen, Kees Kluskens and Webpack contributors |
---|---|
Initial release | Mar 10, 2012 |
Stable release | 4.20.2
/ September 25, 2018[1] |
Repository | github |
Written in | JavaScript |
Operating system | Cross-platform |
License | MIT License |
Website | webpack |
Webpack (stylised webpack) is an open-source JavaScript module bundler.[2][3][4][5] 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.[6] Webpack takes modules with dependencies and generates static assets representing those modules.[7] It’s a module bundler primarily for JavaScript, but it can transform front-end assets like HTML, CSS, even images if the corresponding plugins are included.
It takes the dependencies and generates a dependency graph allowing web developers to use a modular approach for their web application development purposes. The bundler can be used from the command line, or can be configured using a config file which is named webpack.config.js.[8]
Node.js is required for installing Webpack. Another important aspect about Webpack is that it is highly extensible via the use of loaders. Loaders allow developers to write custom tasks that they want to perform when bundling files together.
Webpack uses a config file with the default filename webpack.config.js to define loaders, plugins, etc, for a project. webpack config tool simplifies the process of creating the config file.Webpack Indeedseo
Webpack provides code on demand using the moniker code splitting. The Technical Committee 39 for ECMAScript is working on standardization of a function that loads additional code: proposal-dynamic-import.
See also
References
- ^ "Releases · webpack/webpack". Retrieved 2018-09-25.
- ^ "Web Performance Optimization with webpack". Google Developers. Retrieved 16 Oct 2018.
- ^ "A Beginner's Guide to Webpack 4 and Module Bundling". SitePoint. Retrieved 16 Oct 2018.
- ^ "Webpack 4.0 Release Brings Simplified Configuration, WebAssembly Support, and Big Performance Boost". InfoQ. Retrieved 16 Oct 2018.
- ^ "High-performance webpack config for front-end delivery". Codementor. Retrieved 16 Oct 2018.
- ^ "What is Webpack". SurviveJS. Retrieved 16 Oct 2018.
- ^ "What is webpack". GitHub. Retrieved 25 Feb 2018.
- ^ "Webpack: An Introduction - Wisdom Geek". Wisdom Geek. 2017-01-12. Retrieved 2017-01-16.