78 captures
28 Jul 2017 - 17 Mar 2026
Nov DEC Jan
30
2021 2022 2023
success
fail

About this capture

COLLECTED BY

Collection: Save Page Now Outlinks

TIMESTAMPS

The Wayback Machine - http://web.archive.org/web/20221230025840/https://en.wikipedia.org/wiki/Webpack
 





Webpack



From Wikipedia, the free encyclopedia



Jump to navigation  Jump to search  
Webpack
Developer(s)Tobias Koppers, Sean Larkin, Johannes Ewald, Juho Vepsäläinen, Kees Kluskens, and Webpack contributors
Initial release19 February 2014; 8 years ago (2014-02-19)[1]
Stable release

5.71.0 / 1 April 2022; 8 months ago (2022-04-01)[2]

Repositorygithub.com/webpack/webpack
Written inJavaScript
Operating systemLinux, macOS, Windows
PlatformNode.js
LicenseMIT License[3][4]
Websitewebpack.js.org

Webpack is a free and open-source module bundler for JavaScript.[5][6][7][8] It is made primarily for JavaScript, but it can transform front-end assets such as HTML, CSS, and images if the corresponding loaders are included.[9] Webpack takes modules with dependencies and generates static assets representing those modules.[10]

Webpack takes the dependencies and generates a dependency graph allowing web developers to use a modular approach for their web application development purposes. It can be used from the command line or can be configured using a configuration file which is named webpack.config.js. This file defines rules, plugins, etc., for a project. (Webpack is highly extensible via rules which allow developers to write custom tasks that they want to perform when bundling files together.)

Node.js is required for using Webpack.

Webpack provides code on demand using the moniker code splitting. Two similar techniques are supported by Webpack when it comes to dynamic code splitting. The first and recommended approach is to use the import() syntax that conforms to the ECMAScript proposal for dynamic imports. The legacy, Webpack-specific approach is to use require.ensure.[11]

Webpack development server[edit]

Webpack also provides a built-in development server, webpack-dev-server, that can be used as an HTTP server for serving files while developing. It also provides the capability to use hot module replacement (HMR), which updates code on a webpage without requiring the developer to reload the page.

See also[edit]

References[edit]

  1. ^ "Release Date of Version 1.0.0". Retrieved 2020-12-31.
  • ^ "Releases · webpack/webpack". Retrieved 2022-02-22.
  • ^ "LICENSE file on GitHub". Retrieved 2020-12-31.
  • ^ "License field from webpack - npm". Retrieved 2020-12-31.
  • ^ "Web Performance Optimization with webpack". Google Inc. 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.
  • ^ "Dynamic imports". webpack. Retrieved 6 Jun 2022.
  • External links[edit]

    Retrieved from "https://en.wikipedia.org/w/index.php?title=Webpack&oldid=1118395663"

    Categories: 
    2012 software
    JavaScript programming tools
    Software using the MIT license
    Hidden categories: 
    Articles with short description
    Short description matches Wikidata
     


    Navigation menu


    Personal tools  



    Not logged in
    Talk
    Contributions
    Create account
    Log in
     

    Namespaces  



    Article
    Talk