@forsakringskassan/docs-generator 2.20.0 → 2.21.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.50.1"
8
+ "packageVersion": "7.51.1"
9
9
  }
10
10
  ]
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forsakringskassan/docs-generator",
3
- "version": "2.20.0",
3
+ "version": "2.21.1",
4
4
  "description": "Documentation generator",
5
5
  "keywords": [
6
6
  "documentation"
@@ -25,8 +25,10 @@
25
25
 
26
26
  <!-- prettier-ignore -->
27
27
  {%- for asset in injectHead | take("type", "js") %}
28
+ <!-- prettier-ignore -->
28
29
  <script
29
30
  src="{{ asset.publicPath | relative(doc) }}"
31
+ {% if asset.format === "esm" %}type="module"{% endif %}
30
32
  crossorigin
31
33
  integrity="{{ asset.integrity }}"
32
34
  {{
@@ -120,8 +122,10 @@
120
122
 
121
123
  <!-- prettier-ignore -->
122
124
  {%- for asset in injectBody | take("type", "js") %}
125
+ <!-- prettier-ignore -->
123
126
  <script
124
127
  src="{{ asset.publicPath | relative(doc) }}"
128
+ {% if asset.format === "esm" %}type="module"{% endif %}
125
129
  crossorigin
126
130
  integrity="{{ asset.integrity }}"
127
131
  {{