Socket
Book a DemoInstallSign in
Socket

assets_pipeline

Package Overview
Dependencies
Maintainers
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

assets_pipeline

0.0.3
bundlerRubygems
Version published
Maintainers
3
Created
Source

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",
  ...
}

FAQs

Package last updated on 10 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.