From a2f29c5d84b6b1aaa695d2db8190076b323c62e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Mon, 28 Jun 2021 10:39:52 +0200 Subject: [PATCH] modules: Add module.import.noMounts config Fixes #8708 --- content/en/hugo-modules/configuration.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/en/hugo-modules/configuration.md b/content/en/hugo-modules/configuration.md index 4bb19dde4..1a3a285c7 100644 --- a/content/en/hugo-modules/configuration.md +++ b/content/en/hugo-modules/configuration.md @@ -101,6 +101,12 @@ ignoreImports {{< new-in "0.80.0" >}} disable : Set to `true` to disable the module while keeping any version info in the `go.*` files. +noMounts {{< new-in "0.84.2" >}} +: Do not mount any folder in this import. + +noVendor +: Never vendor this import (only allowed in main project). + {{< gomodules-info >}}