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 cfb247a commit 6f74d9cCopy full SHA for 6f74d9c
index.d.ts
@@ -39,7 +39,15 @@ declare namespace AddAssetHtmlPlugin {
39
* Can be set to css to create a link-tag instead of a script-tag.
40
* Default 'js'
41
*/
42
- typeOfAsset?: string;
+ typeOfAsset?: 'js' | 'css';
43
+
44
+ /**
45
+ * Extra attributes to be added to the generated tag. Useful to for instance add
46
+ * `nomodule` to a polyfill script. The `attributes` object uses the key as the
47
+ * name of the attribute, and the value as the value of it. If value is simply
48
+ * `true` no value will be added.
49
+ */
50
+ attributes?: Object;
51
}
52
53
0 commit comments