Skip to content

Commit

Permalink
docs(readme): Clarification, rewording
Browse files Browse the repository at this point in the history
  • Loading branch information
Velenir committed Dec 31, 2016
1 parent 93a18d9 commit b55c16e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ npm install pug pug-loader html-webpack-plugin html-webpack-template-pug --save-

## Basic Usage

Required parameters, to be passed to `new HtmlWebpackPlugin({})`:
Required parameters, to be passed to `new HtmlWebpackPlugin(options)` as properties on `options`:

- `inject: false` -- Disables resource injection by **html-webpack-plugin**
- `template`: provided `layout.pug` or a custom `*.pug` file.
Expand Down Expand Up @@ -392,8 +392,8 @@ To clarify usage of different parameters in `inlineCSS`, `injectCSS`, `inlineJS`
+inlineCSS(["style1.css", "style2.css"])
//- inlines style1.css and style2.css
+inlineCSS(["style1.css", "!style2.css"])
//- inlines style1.css but not style2.css
+inlineCSS([/\.css$/, "!style2.css"])
//- inlines all /\.css$/ matches except for style2.css
+inlineCSS(["!style1.css", "!style2.css"])
//- inlines all resources from htmlWebpackPlugin.files.css except for style1.css and style2.css
Expand Down

0 comments on commit b55c16e

Please sign in to comment.