Jekyll Asset Pipeline

screenshot of Jekyll Asset Pipeline

Powerful asset pipeline for Jekyll that collects, converts and compresses JavaScript and CSS assets

Overview:

Jekyll Asset Pipeline is a powerful asset pipeline gem for Jekyll sites. It automatically collects, converts, and compresses/minifies JavaScript and CSS assets when compiling a Jekyll site. It offers declarative dependency management, asset preprocessing/conversion (supporting CoffeeScript, Sass/Scss, Less, Erb, etc.), asset compression (supporting YUI Compressor, Closure Compiler, etc.), and automatic generation of HTML link and script tags for bundled assets. It seamlessly integrates into Jekyll's workflow, including auto site regeneration.

Features:

  • Declarative dependency management via asset manifests
  • Asset preprocessing/conversion (supports CoffeeScript, Sass/Scss, Less, Erb, etc.)
  • Asset compression (supports YUI Compressor, Closure Compiler, etc.)
  • Fingerprints bundled asset filenames with MD5 hashes for better browser caching
  • Automatic generation of HTML link and script tags that point to bundled assets
  • Integrates seamlessly into Jekyll's workflow, including auto site regeneration

Summary:

Jekyll Asset Pipeline is a useful gem for Jekyll sites that automates the collection, conversion, and compression of JavaScript and CSS assets. It offers features such as declarative dependency management, asset preprocessing/conversion, asset compression, and automatic generation of HTML tags for bundled assets. To install it, add the jekyll_asset_pipeline gem to your project, create a _plugins folder, move your assets to an ignored folder, and add Liquid blocks to your site's HTML head section.