diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-10-05 14:34:14 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-11-03 15:04:37 +0300 |
commit | 85e4dd7370eae97ae367e596aa6a10ba42fd4b7c (patch) | |
tree | 23e739edbed24a62f842c1a3ebc1d9cb706ea8b7 /config/commonConfig.go | |
parent | 3089fc0ba171be14670b19439bc2eab6b077b6c3 (diff) |
Make js.Build fully support modules
Fixes #7816
Fixes #7777
Fixes #7916
Diffstat (limited to 'config/commonConfig.go')
-rw-r--r-- | config/commonConfig.go | 4 |
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 { |