ModuleType Enum
The type of a module (https://html.spec.whatwg.org/multipage/webappapis.html#module-type-from-module-request).
public enum ModuleTypeFields
| Name | Value | Description |
|---|---|---|
JavaScript | 0 | A JavaScript module. |
Json | 1 | A JSON module (with { type: "json" }): its default export is the parsed JSON value. |
Css | 2 | A CSS module (with { type: "css" }): its default export is a constructed CSSStyleSheet. |
Text | 3 | A text module (with { type: "text" }): its default export is the response decoded as UTF-8, whatever its MIME type. |