A optional Glob pattern matching module paths to skip when vendoring, e.g. “github.com/**”
When enabled, we will pick the vendored module closest to the module using it. The default behaviour is to pick the first. Note that there can still be only one dependency of a given module path, so once it is in use it cannot be redefined.
Defines the proxy server to use to download remote modules. Default is direct, which means “git clone” and similar.
Comma separated glob list matching paths that should not use the proxy configured above.
Comma separated glob list matching paths that should be treated as private.
A comma separated (or a slice) list of module path to directory replacement mapping, e.g. "github.com/bep/myprettytheme -> ../..,github.com/bep/shortcodes -> /some/path. This is mostly useful for temporary locally development of a module, and then it makes sense to set it as an OS environment variable, e.g: env HUGO_MODULE_REPLACEMENTS="github.com/bep/myprettytheme -> ../..". Any relative path is relate to themesDir, and absolute paths are allowed.
Note that the above terms maps directly to their counterparts in Go Modules. Some of these setting may be natural to set as OS environment variables. To set the proxy server to use, as an example:
env HUGO_MODULE_PROXY=https://proxy.example.org hugo
Module Config: hugoVersion
If your module requires a particular version of Hugo to work, you can indicate that in the module section and the user will be warned if using a too old/new version.