Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'modules/config.go')
-rw-r--r--modules/config.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/config.go b/modules/config.go
index 5e95f0ac1..1964479f4 100644
--- a/modules/config.go
+++ b/modules/config.go
@@ -227,6 +227,10 @@ type Config struct {
// Will be validated against the running Hugo version.
HugoVersion HugoVersion
+ // A optional Glob pattern matching module paths to skip when vendoring, e.g.
+ // "github.com/**".
+ NoVendor string
+
// Configures GOPROXY.
Proxy string
// Configures GONOPROXY.