Skip to content

Commit a7a9a75

Browse files
authored
Update module.md
1 parent a7909fe commit a7a9a75

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎content/en/configuration/module.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ noVendor
112112
path
113113
: (`string`) The module path, either a valid Go module path (e.g., `github.com/gohugoio/myShortcodes`) or the directory name if stored in the [`themesDir`].
114114

115+
version
116+
: {{< new-in 0.150.0 />}}
117+
: If set to a [version query](https://go.dev/ref/mod#version-queries), this import becomes a direct dependency, in contrast to dependencies managed by Go Modules. See [this issue](https://github.com/gohugoio/hugo/pull/13966) for more information.
118+
115119
{{% include "/_common/gomodules-info.md" %}}
116120

117121
## Mounts

0 commit comments

Comments
 (0)