Skip to content

Commit

Permalink
docs: add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kagawagao committed Feb 18, 2022
1 parent 6095b6f commit a9bb01f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,5 @@ plugins: [

## Options

- `externals: <HTMLTagObject>[]`: external [HTMLTagObject](https://github.com/jantimon/html-webpack-plugin/blob/6e17a0cd7e99c08fdf6eb6e79b88f589af35c645/typings.d.ts#L238-L260) which you want to add
- `externals: <HtmlAssetItem>[]`: external HTMLTagObject which you want to add
- `prepend`: insert before parent first child
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ export interface ExternalItem extends Omit<HtmlTagObject, 'voidTag' | 'meta'> {
include?: IncludeFilter
}

// extends HtmlTagObject
// https://github.com/jantimon/html-webpack-plugin/blob/6e17a0cd7e99c08fdf6eb6e79b88f589af35c645/typings.d.ts#L238-L260
export interface HtmlAssetItem extends HtmlTagObject {
include?: IncludeFilter
}
Expand Down

0 comments on commit a9bb01f

Please sign in to comment.