0.0
No commit activity in last 3 years
No release in over 3 years
Asset Pipeline for Rails with your favourite js bundler
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

>= 0
~> 3.4

Runtime

>= 4
 Project Readme

assets_pipeline

Gem Version Build Status

Asset Pipeline for Rails with your favourite js bundler.

JRuby is not currently supported.

Install

# Create new app or remove Sprockets from existing
rails new project --skip-sprockets

# config/application.rb
config.assets_pipeline.manifest_file = 'config/manifest.json' # default: config/manifest.json
config.assets_pipeline.prefix        = '/assets'              # default: /assets

config.assets_pipeline.after_manifest_initialization = -> { puts 'called after mainifest initialization' }

Configuration for js bundler

Your js bundler should generate manifest file in JSON format:

# config/manifest.json

{
  "application.js": "application-ea0d453146be2145f180.js",
  ...
}