Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fcb0e35

Browse filesBrowse files
authored
Merge pull request #15996 from webdiscus/main
docs: update in readme the list of plugins and loaders
2 parents 6dc6a19 + 6eb8c0c commit fcb0e35
Copy full SHA for fcb0e35

File tree

1 file changed

+14
-7
lines changed
Filter options

1 file changed

+14
-7
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+14-7Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ within webpack itself use this plugin interface. This makes webpack very
110110
| [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. |
111111
| [compression-webpack-plugin][compression] | ![compression-npm] | ![compression-size] | Prepares compressed versions of assets to serve them with Content-Encoding |
112112
| [html-webpack-plugin][html-plugin] | ![html-plugin-npm] | ![html-plugin-size] | Simplifies creation of HTML files (`index.html`) to serve your bundles |
113+
| [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. |
113114

114115
[common-npm]: https://img.shields.io/npm/v/webpack.svg
115116
[mini-css]: https://github.com/webpack-contrib/mini-css-extract-plugin
@@ -124,6 +125,9 @@ within webpack itself use this plugin interface. This makes webpack very
124125
[html-plugin]: https://github.com/jantimon/html-webpack-plugin
125126
[html-plugin-npm]: https://img.shields.io/npm/v/html-webpack-plugin.svg
126127
[html-plugin-size]: https://packagephobia.com/badge?p=html-webpack-plugin
128+
[pug-plugin]: https://github.com/webdiscus/pug-plugin
129+
[pug-plugin-npm]: https://img.shields.io/npm/v/pug-plugin.svg
130+
[pug-plugin-size]: https://packagephobia.com/badge?p=pug-plugin
127131

128132
### [Loaders](https://webpack.js.org/loaders/)
129133

@@ -170,18 +174,21 @@ or are automatically applied via regex from your webpack configuration.
170174

171175
#### Templating
172176

173-
| Name | Status | Install Size | Description |
174-
| :-------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-------------: | :--------------: | :-------------------------------------------------------------------------------------- |
175-
| <a href="https://github.com/webpack-contrib/html-loader"><img width="48" height="48" src="https://worldvectorlogo.com/logos/html5.svg"></a> | ![html-npm] | ![html-size] | Exports HTML as string, requires references to static resources |
176-
| <a href="https://github.com/pugjs/pug-loader"><img width="48" height="48" src="https://cdn.rawgit.com/pugjs/pug-logo/master/SVG/pug-final-logo-_-colour-128.svg"></a> | ![pug-npm] | ![pug-size] | Loads Pug templates and returns a function |
177-
| <a href="https://github.com/peerigon/markdown-loader"><img width="48" height="48" src="https://worldvectorlogo.com/logos/markdown.svg"></a> | ![md-npm] | ![md-size] | Compiles Markdown to HTML |
178-
| <a href="https://github.com/posthtml/posthtml-loader"><img width="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) |
179-
| <a href="https://github.com/pcardune/handlebars-loader"><img width="48" height="48" src="https://worldvectorlogo.com/logos/handlebars-1.svg"></a> | ![hbs-npm] | ![hbs-size] | Compiles Handlebars to HTML |
177+
| Name | Status | Install Size | Description |
178+
| :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-------------: | :--------------: | :-------------------------------------------------------------------------------------- |
179+
| <a href="https://github.com/webpack-contrib/html-loader"><img width="48" height="48" src="https://worldvectorlogo.com/logos/html5.svg"></a> | ![html-npm] | ![html-size] | Exports HTML as string, requires references to static resources |
180+
| <a href="https://github.com/pugjs/pug-loader"><img width="48" height="48" src="https://cdn.rawgit.com/pugjs/pug-logo/master/SVG/pug-final-logo-_-colour-128.svg"></a> | ![pug-npm] | ![pug-size] | Loads Pug templates and returns a function |
181+
| <a href="https://github.com/webdiscus/pug-loader"><img width="48" height="48" src="https://cdn.rawgit.com/pugjs/pug-logo/master/SVG/pug-final-logo-_-colour-128.svg"></a> | ![pug3-npm] | ![pug3-size] | Compiles Pug to a function or HTML string, useful for use with Vue, React, Angular |
182+
| <a href="https://github.com/peerigon/markdown-loader"><img width="48" height="48" src="https://worldvectorlogo.com/logos/markdown.svg"></a> | ![md-npm] | ![md-size] | Compiles Markdown to HTML |
183+
| <a href="https://github.com/posthtml/posthtml-loader"><img width="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) |
184+
| <a href="https://github.com/pcardune/handlebars-loader"><img width="48" height="48" src="https://worldvectorlogo.com/logos/handlebars-1.svg"></a> | ![hbs-npm] | ![hbs-size] | Compiles Handlebars to HTML |
180185

181186
[html-npm]: https://img.shields.io/npm/v/html-loader.svg
182187
[html-size]: https://packagephobia.com/badge?p=html-loader
183188
[pug-npm]: https://img.shields.io/npm/v/pug-loader.svg
184189
[pug-size]: https://packagephobia.com/badge?p=pug-loader
190+
[pug3-npm]: https://img.shields.io/npm/v/@webdiscus/pug-loader.svg
191+
[pug3-size]: https://packagephobia.com/badge?p=@webdiscus/pug-loader
185192
[jade-npm]: https://img.shields.io/npm/v/jade-loader.svg
186193
[jade-size]: https://packagephobia.com/badge?p=jade-loader
187194
[md-npm]: https://img.shields.io/npm/v/markdown-loader.svg

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.