hugo/modules
Bjørn Erik Pedersen d392893cd7
Misc config loading fixes
The main motivation behind this is simplicity and correctnes, but the new small config library is also faster:

```
BenchmarkDefaultConfigProvider/Viper-16         	  252418	      4546 ns/op	    2720 B/op	      30 allocs/op
BenchmarkDefaultConfigProvider/Custom-16        	  450756	      2651 ns/op	    1008 B/op	       6 allocs/op
```

Fixes #8633
Fixes #8618
Fixes #8630
Updates #8591
Closes #6680
Closes #5192
2021-06-14 17:00:32 +02:00
..
npm Misc config loading fixes 2021-06-14 17:00:32 +02:00
client.go modules: Throw an error running hugo mod vendor on mountless module 2021-02-15 10:47:32 +01:00
client_test.go modules: Add config option modules.vendorClosest 2021-02-16 16:30:01 +01:00
collect.go Misc config loading fixes 2021-06-14 17:00:32 +02:00
collect_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
config.go modules: Add config option modules.vendorClosest 2021-02-16 16:30:01 +01:00
config_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
module.go Make the "is this a Hugo Module" logic more lenient 2019-09-03 15:12:33 +02:00