Skip to content

Commit a72248a

Browse files
committed
docs: update readme
1 parent 618fa46 commit a72248a

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
[![codecov](https://codecov.io/gh/webdiscus/html-bundler-webpack-plugin/branch/master/graph/badge.svg?token=Q6YMEN536M)](https://codecov.io/gh/webdiscus/html-bundler-webpack-plugin)
1313
[![node](https://img.shields.io/npm/dm/html-bundler-webpack-plugin)](https://www.npmjs.com/package/html-bundler-webpack-plugin)
1414

15-
Generates output HTML, JS and CSS from templates containing source files of scripts, styles and other assets.\
15+
Generates HTML with JS and CSS from templates containing source files of scripts, styles and other assets.\
1616
Advanced alternative to [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin) and modern replacement of many [plugins and loaders](#list-of-plugins).
1717

1818
---
@@ -29,16 +29,16 @@ Advanced alternative to [html-webpack-plugin](https://github.com/jantimon/html-w
2929

3030
## 💡 Highlights
3131

32-
- **Start from HTML**, not from JS. An [entry point](#option-entry) is any HTML template.
33-
- **Auto processing** multiple HTML templates in the [entry path](#option-entry-path).
34-
- **Renders** the most popular [template engines](#template-engine) "**out of the box**", without additional plugins and loaders:\
32+
- An [entry point](#option-entry) is any HTML template. **Start from HTML**, not from JS.
33+
- **Find** and automatic processing of templates in the [entry directory](#option-entry-path).
34+
- **Renders** the [template engines](#template-engine) "out of the box":
3535
[Eta](#using-template-eta), [EJS](#using-template-ejs), [Handlebars](#using-template-handlebars), [Nunjucks](#using-template-nunjucks), [Pug](#using-template-pug), [TwigJS](#using-template-twig), [LiquidJS](#using-template-liquidjs).
3636
- **Source files** of [`script`](#option-js) and [`style`](#option-css) can be specified directly in HTML:
3737
- `<link href="./style.scss" rel="stylesheet">`\
3838
No longer need to define source style files in Webpack entry or import styles in JavaScript.
39-
- `<script src="./app.tsx" defer="defer"></script>`\
39+
- `<script src="./app.ts" defer="defer"></script>`\
4040
No longer need to define source JavaScript files in Webpack entry.
41-
- **Resolves** [source files](#loader-option-sources) in [default attributes](#loader-option-sources-default) `href` `src` `srcset` using **relative path** or **alias**:
41+
- **Resolves** [source files](#loader-option-sources) of assets in [attributes](#loader-option-sources-default) such as `href` `src` `srcset` using **relative path** or **alias**:
4242
- `<link href="../images/favicon.svg" type="image/svg" rel=icon />`
4343
- `<img src="@images/pic.png" srcset="@images/pic400.png 1x, @images/pic800.png 2x" />`\
4444
Source files will be resolved, processed and auto-replaced with correct URLs in the bundled output.
@@ -115,7 +115,6 @@ src/
115115
```
116116
-->
117117

118-
119118
Simple and clear Webpack configuration:
120119
```js
121120
const path = require('path');

0 commit comments

Comments
 (0)