Update module.md

This commit is contained in:
Bjørn Erik Pedersen
2025-09-08 15:29:54 +02:00
committed by GitHub
parent a7909fe37d
commit a7a9a75639
+4
View File
@@ -112,6 +112,10 @@ noVendor
path
: (`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`].
version
: {{< new-in 0.150.0 />}}
: 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.
{{% include "/_common/gomodules-info.md" %}}
## Mounts