From 50b8dace598516c456371b647fe62cd1aea1b24c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Wed, 9 Sep 2020 21:10:28 +0200 Subject: [PATCH] modules: Add noVendor to module config Fixes #7647 --- content/en/hugo-modules/configuration.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/content/en/hugo-modules/configuration.md b/content/en/hugo-modules/configuration.md index c97e8d5a2..2fb4ec5e6 100644 --- a/content/en/hugo-modules/configuration.md +++ b/content/en/hugo-modules/configuration.md @@ -18,11 +18,16 @@ toc: true {{< code-toggle file="config">}} [module] +noVendor = "" proxy = "direct" noProxy = "none" private = "*.*" {{< /code-toggle >}} + +noVendor {{< new-in "0.75.0" >}} +: A optional Glob pattern matching module paths to skip when vendoring, e.g. "github.com/**" + proxy : Defines the proxy server to use to download remote modules. Default is `direct`, which means "git clone" and similar.