kmg
kmg

Reputation: 519

Is JS minification possible within jekyll?

I am working on a project using Jekyll and as a part of that, there is the need to minify HTML-CSS-JS. Is JS minification possible as in-build in jekyll? This might be a very basic question. But being a newbie to jekyll, any help is appreciated.

Upvotes: 5

Views: 3417

Answers (2)

You can try use minifier that I recently developed https://github.com/Mendeo/jekyll-minifier. It is written purely on liquid, so you do not need to install any additional gems and it is fully compatible with GitHub Pages.

Upvotes: 0

Mr. Hugo
Mr. Hugo

Reputation: 12592

You have to use a plugin, AFAIK.

According to this thread you should use the Jekyll Assets plugin.

Upvotes: 4

Related Questions