https://github.com/runtimellc/assets_pipeline
Asset Pipeline for Rails with your favourite js bundler
https://github.com/runtimellc/assets_pipeline
assets-management assets-manifest gulp rails sprockets webpack
Last synced: 2 days ago
JSON representation
Asset Pipeline for Rails with your favourite js bundler
- Host: GitHub
- URL: https://github.com/runtimellc/assets_pipeline
- Owner: RuntimeLLC
- Created: 2016-05-09T20:05:19.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-10T14:24:24.000Z (over 8 years ago)
- Last Synced: 2025-04-20T14:06:49.752Z (28 days ago)
- Topics: assets-management, assets-manifest, gulp, rails, sprockets, webpack
- Language: Ruby
- Size: 10.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# assets_pipeline
[](https://rubygems.org/gems/assets_pipeline)
[](https://travis-ci.org/llxff/assets_pipeline)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: /assetsconfig.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",
...
}
```