Closed ygd closed 6 years ago
You can have multiple configuration files. One with jekyll-minifier disabled for use with jekyll serve
and the other with it enabled for use with jekyll build
jekyll serve --config _config_nominify.yml jekyll build --config _config_minify.yml
if you use rake you can set up your serve and builds to use different configs or modify the config before serving or building the page.
It would be smoother while developing if you can disable the minifier while
jekyll serve
(jekyll watch) is active. Having an option to activate the minifier for serve likejekyll serve --minify
would be also cool.Or only running the minifier by
jekyll build