mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-15 16:39:03 -04:00
parent
3f8324918b
commit
bcb9503470
@ -45,6 +45,11 @@ defines [map]
|
|||||||
{{ $defines := dict "process.env.NODE_ENV" `"development"` }}
|
{{ $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
|
### Examples
|
||||||
|
|
||||||
```go-html-template
|
```go-html-template
|
||||||
|
Loading…
x
Reference in New Issue
Block a user