Skip to content

Commit a483254

Browse files
committed
📝 Fixes documentation
async and defer attributes are not injected
1 parent abf0a5d commit a483254

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,7 @@ Then add this tag (in your `<head>` element too) to load your scripts :
155155

156156
This will add a `<script>` tag including your JS/TS script :
157157

158-
- In development mode, all scripts are included as modules.
159-
- In development mode, all scripts are marked as `async` and `defer`.
158+
- In development and production, all scripts are included as modules (`[type=module]`).
160159
- You can pass a second argument to this tag to overrides attributes
161160
passed to the script tag.
162161
- This tag only accept JS/TS, for other type of assets, they must be

0 commit comments

Comments
 (0)