We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03bc2bb commit c0e7b65Copy full SHA for c0e7b65
index.d.ts
@@ -1,11 +1,15 @@
1
declare namespace AddAssetHtmlPlugin {
2
- interface Options {
+ type Options = {
3
/**
4
- * The absolute path of the file you want to add to the compilation, and resulting HTML file.
5
- * Mandatory.
+ * The absolute path of the file you want to add to the compilation and resulting HTML file.
6
*/
7
filepath: string;
8
-
+ } | {
+ /**
9
+ * The path as a glob pattern you want to add to the compilation and resulting HTML file.
10
+ */
11
+ glob: string;
12
+ } & {
13
14
* Files that the assets will be added to.
15
* By default the assets will be included in all files. If files are defined, the
0 commit comments