Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

Commit ff2ce56

Browse files
authored
Document forced injection
Closes #98
1 parent 4269880 commit ff2ce56

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ In combination with [html-webpack-plugin](https://github.com/ampedandwired/html-
102102
> https://github.com/brunocodutra/webapp-webpack-plugin/blob/master/test/fixtures/expected/html
103103
104104
HTML injection is skipped for a particular `html-webpack-plugin` if either `inject` or `favicons`
105-
properties are set to `false` in its configuration object.
105+
properties are set to `false` in its configuration object, unless `inject` is set to `'force'` in
106+
the configuration of `webapp-webpack-plugin`.
106107

107108
## Advanced Usage
108109

@@ -117,6 +118,9 @@ plugins: [
117118
// Prefix path for generated assets
118119
prefix: 'assets/',
119120
// Inject html links/metadata (requires html-webpack-plugin)
121+
// false: disables injection
122+
// true: enables injection if that is not disabled in html-webpack-plugin
123+
// 'force': enables injection even if that is disabled in html-webpack-plugin
120124
inject: true,
121125
// Favicons configuration options (see below)
122126
favicons: {

0 commit comments

Comments
 (0)