Official website (https://webpack.github.io/)
Key facts
- Software.name
- Webpack
- Software.logo
- Webpack.svg
- Software.developer
- Tobias Koppers, Sean Larkin, Johannes Ewald, Juho Vepsäläinen, Kees Kluskens, Even Stensberg and Webpack contributors
- Software.ver layout
- simple
- Software.programming language
- JavaScript
- Software.operating system
- Linux, macOS, Windows
- Software.platform
- Node.js
- Software.license
- MIT License
via Wikipedia infobox
Official website
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., 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.
webpack.github.io →Link to the official site · 2,415 chars · not written by Vinony
Source code
TL;DR Bundles ES Modules, CommonJS, and AMD modules (even combined). Can create a single bundle or multiple chunks that are asynchronously loaded at runtime (to reduce initial loading time). Dependencies are resolved during compilation, reducing the runtime size. Loaders can preprocess files while compiling, e.g. TypeScript to JavaScript, Handlebars strings to compiled functions, images to Base64, etc. Highly modular plugin system to do whatever else your application requires. Webpack supports all browsers that are ES5-compliant (IE8 and below are not supported). Webpack also needs Promise for import() and require.ensure() . If you want to support older browsers, you will need to load a polyfill before using these expressions. Webpack has a rich plugin interface. Most of the features within webpack itself use this plugin interface. This makes webpack very flexible . Name Status Install Size Description : : : : : : : [mini-css-extract-plugin][mini-css] ![mini-css-npm] ![mini-css-size] Extracts CSS into separate files. It creates a CSS file per JS file which contains CSS. [compression-webpack-plugin][compression] ![compression-npm] ![compression-size] Prepares compressed versions of assets to serve them with Content-Encoding [html-bundler-webpack-plugin][bundler] ![bundler-npm] ![bundler-size] Renders a template (EJS, Handlebars, Pug) with referenced source asset files into HTML. [html-webpack-plugin][html-plugin] ![html-plugin-npm] ![html-plugin-size] Simplifies creation of HTML files ( index.html ) to serve your bundles [pug-plugin][pug-plugin] ![pug-plugin-npm] ![pug-plugin-size] Renders Pug files to HTML, extracts JS and CSS from sources specified directly in Pug. Webpack enables the use of loaders to preprocess files. This allows you to bundle any static resource way beyond JavaScript. You can easily write your own loaders using Node.js. Loaders are activated by using loadername! prefixes in require() statements, or are automatically applied via regex from your webpack configuration. Name Status Install Size Description : : : : : : : ![babel-npm] ![babel-size] Loads ES2015+ code and transpiles to ES5 using Babel ![type-npm] ![type-size] Loads TypeScript like JavaScript ![coffee-npm] ![coffee-size] Loads CoffeeScript like JavaScript Name Status Install Size Description : : : : : : : ![html-npm] ![html-size] Exports HTML as string, requires references to static resources ![pug-npm] ![pug-size] Compiles Pug to a function or HTML string, useful for use with Vue, React, Angular ![md-npm] ![md-size] Compiles Markdown to HTML ![posthtml-npm] ![posthtml-size] Loads and transforms a HTML file using PostHTML ![hbs-npm] ![hbs-size] Compiles Handlebars to HTML Name Status Install Size Description : : : : : : : ![style-npm] ![style-size] Add exports of a module as style to DOM ![css-npm] ![css-size] Loads CSS file with resolved imports and returns CSS code ![less-npm] ![less-size] Loads and compiles a LESS file ![sass-npm] ![sass-size] Loads and compiles a Sass/SCSS file ![stylus-npm] ![stylus-size] Loads and compiles a Stylus file ![postcss-npm] ![postcss-size] Loads and transforms a CSS/SSS file using PostCSS Name Status Install Size Description : : : : : : : ![vue-npm] ![vue-size] Loads and compiles Vue Components ![polymer-npm] ![polymer-size] Process HTML & CSS with preprocessor of choice and require() Web Components like first-class modules ![angular-npm] ![angular-size] Loads and compiles Angular 2 Components ![riot-npm] ![riot-size] Riot official webpack loader ![svelte-npm] ![svelte-size] Official Svelte loader Webpack uses async I/O and has multiple caching levels. This makes webpack fast and incredibly fast on incremental compilations. Webpack supports ES2015+, CommonJS and AMD modules out of the box . It performs clever static analysis on the AST of your code. It even has an evaluation engine to evaluate simple expressions. This allows you to support most existing libraries out of the box. Webpack allows you to s
Excerpt from the source-code README · 80,497 chars · not written by Vinony
Article · 日本語
webpackは、オープンソースのJavaScriptモジュールバンドラーである。主にJavaScript用に作成されているが、対応するローダーを追加することでHTML、CSS、画像などのフロントエンドアセットを変換できる。webpackは依存関係のあるモジュールを受け取り、それらのモジュールを表す静的アセットを生成する。 Webpackは依存関係を取得し、依存関係グラフを生成して、Web開発者がWebアプリケーション開発の目的でモジュラーアプローチを使用できるようにする。コマンドラインから使用し、webpack.config.jsという名前の構成ファイルを使用して構成を行うことができる。このファイルは、プロジェクトのルール、プラグインなどを定義するために使用される(webpackは、開発者がファイルをバンドルするときに実行したいカスタムタスクを記述できるようにするルールを介して、高度に拡張可能である)。 webpackを使用するには、Node.jsが必要である。 webpackは、モニカ code splitting を使用してを提供する。The Technical Committee 39 for ECMAScriptは、追加のコード「proposal-dynamic-import」をロードする関数の標準化に取り組んでいる。
Abstract from DBpedia / Wikipedia · CC BY-SA