You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2a6a4fa
Browse filesBrowse the repository at this point in the historyBrowse files
docs: drop the built-in-superseded loaders and plugins from the README (#21855)
* docs: drop the built-in-superseded loaders and plugins from the README
mini-css-extract-plugin, html-webpack-plugin, html-loader, style-loader
and css-loader are no longer listed, and each section instead says in one
line what webpack handles without a loader or plugin.
* docs: narrow what the README claims is built in
Neither line held: html-webpack-plugin's templates, hooks, chunksSortMode
and xhtml have no built-in equivalent, and preprocessors and template
engines keep their loaders. Both now point at the What's built-in scope
tables instead of implying the packages are unnecessary.
|[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. |
104
108
|[compression-webpack-plugin][compression]|![compression-npm]|![compression-size]| Prepares compressed versions of assets to serve them with Content-Encoding |
105
109
|[html-bundler-webpack-plugin][bundler]|![bundler-npm]|![bundler-size]| Renders a template (EJS, Handlebars, Pug) with referenced source asset files into HTML. |
106
-
|[html-webpack-plugin][html-plugin]|![html-plugin-npm]|![html-plugin-size]| Simplifies creation of HTML files (`index.html`) to serve your bundles |
107
110
|[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. |
| <ahref="https://github.com/webpack-contrib/html-loader"><imgwidth="48"height="48"src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/html5/html5-original.svg"></a> |![html-npm]|![html-size]| Exports HTML as string, requires references to static resources |
167
168
| <ahref="https://github.com/webdiscus/pug-loader"><imgwidth="48"height="48"src="https://cdn.rawgit.com/pugjs/pug-logo/master/SVG/pug-final-logo-_-colour-128.svg"></a> |![pug-npm]|![pug-size]| Compiles Pug to a function or HTML string, useful for use with Vue, React, Angular |
168
169
| <ahref="https://github.com/peerigon/markdown-loader"><imgwidth="48"height="48"src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/markdown/markdown-original.svg"></a> |![md-npm]|![md-size]| Compiles Markdown to HTML |
169
170
| <ahref="https://github.com/posthtml/posthtml-loader"><imgwidth="48"height="48"src="https://posthtml.github.io/posthtml/logo.svg"></a> |![posthtml-npm]|![posthtml-size]| Loads and transforms a HTML file using [PostHTML](https://github.com/posthtml/posthtml)|
170
171
| <ahref="https://github.com/pcardune/handlebars-loader"><imgwidth="48"height="48"src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/handlebars/handlebars-original.svg"></a> |![hbs-npm]|![hbs-size]| Compiles Handlebars to HTML |
| <ahref="https://github.com/webpack-contrib/style-loader">`<style>`</a> |![style-npm]|![style-size]| Add exports of a module as style to DOM |
190
-
| <ahref="https://github.com/webpack-contrib/css-loader"><imgwidth="48"height="48"src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/css3/css3-original.svg"></a> |![css-npm]|![css-size]| Loads CSS file with resolved imports and returns CSS code |
191
188
| <ahref="https://github.com/webpack-contrib/less-loader"><imgwidth="48"height="48"src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/less/less-plain-wordmark.svg"></a> |![less-npm]|![less-size]| Loads and compiles a LESS file |
192
189
| <ahref="https://github.com/webpack-contrib/sass-loader"><imgwidth="48"height="48"src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/sass/sass-original.svg"></a> |![sass-npm]|![sass-size]| Loads and compiles a Sass/SCSS file |
193
190
| <ahref="https://github.com/shama/stylus-loader"><imgwidth="48"height="48"src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/stylus/stylus-original.svg"></a> |![stylus-npm]|![stylus-size]| Loads and compiles a Stylus file |
194
191
| <ahref="https://github.com/postcss/postcss-loader"><imgwidth="48"height="48"src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/postcss/postcss-original.svg"></a> |![postcss-npm]|![postcss-size]| Loads and transforms a CSS/SSS file using [PostCSS](https://postcss.org)|
0 commit comments