mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-15 06:14:36 -04:00
parent
3f8324918b
commit
bcb9503470
@ -45,6 +45,11 @@ defines [map]
|
||||
{{ $defines := dict "process.env.NODE_ENV" `"development"` }}
|
||||
```
|
||||
|
||||
format [string] {{< new-in "0.75.0" >}}
|
||||
: The output format.
|
||||
One of: `iife`, `cjs`, `esm`.
|
||||
Default is `iife`, a self-executing function, suitable for inclusion as a <script> tag.
|
||||
|
||||
### Examples
|
||||
|
||||
```go-html-template
|
||||
|
Loading…
x
Reference in New Issue
Block a user