digitalsparky/jekyll-minifier

Is it possible to switch this off during development but on in production automatically?

Booligoosh opened this issue · 4 comments

Is it possible to switch this off during development but on in production automatically?

Yes please!

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

Aha! - thanks.

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.