summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/commonConfig.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/commonConfig.go b/config/commonConfig.go
index 522ced854..9b4edfd90 100644
--- a/config/commonConfig.go
+++ b/config/commonConfig.go
@@ -41,6 +41,10 @@ type Build struct {
// When enabled, will collect and write a hugo_stats.json with some build
// related aggregated data (e.g. CSS class names).
WriteStats bool
+
+ // Can be used to toggle off writing of the intellinsense /assets/jsconfig.js
+ // file.
+ NoJSConfigInAssets bool
}
func (b Build) UseResourceCache(err error) bool {