Is it possible to switch this off during development but on in production automatically?
Booligoosh opened this issue · 4 comments
Booligoosh commented
Is it possible to switch this off during development but on in production automatically?
Convincible commented
Yes please!
nfrankel commented
You can have 3 different config files:
- one common
- one for development
- one for production
And set different configurations for development and production, e.g.:
jekyll build --config=_config.yml,_config/_config_prod.yml
Convincible commented
Aha! - thanks.
alexandermeindl commented
It would be nice, if development environments are excluded automatically, like it is supported by https://github.com/penibelst/jekyll-compress-html
With this functionality you have a more easy deployment and only one _config.yml file.