Sha256: d8933243a0014168ac084ae7966517c23f24f7c4eb9fd9d27a9578a4bde4a83b

Contents?: true

Size: 557 Bytes

Versions: 26

Compression:

Stored size: 557 Bytes

Contents

# Sprockets

### Note for Sprockets usage

If you are still using Sprockets for some of your assets, you might want to include files from `node_modules` directory in your asset pipeline. This is useful, for example, if you want to reference a stylesheet from a node package in your `.scss` stylesheet.

In order to enable this, make sure you add `node_modules` to the asset load path by adding the following in an initializer (for example `config/initializers/assets.rb`)
```ruby
Rails.application.config.assets.paths << Rails.root.join('node_modules')
```

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
shakapacker-8.0.2 docs/sprockets.md
shakapacker-8.0.1 docs/sprockets.md
shakapacker-7.2.3 docs/sprockets.md
shakapacker-7.3.0.beta.1 docs/sprockets.md
shakapacker-7.2.2 docs/sprockets.md
shakapacker-7.2.1 docs/sprockets.md
shakapacker-7.2.0 docs/sprockets.md
shakapacker-7.2.0.rc.0 docs/sprockets.md
shakapacker-7.1.0 docs/sprockets.md
shakapacker-7.0.3 docs/sprockets.md
shakapacker-7.0.2 docs/sprockets.md
shakapacker-7.0.1 docs/sprockets.md
shakapacker-7.0.0 docs/sprockets.md
shakapacker-7.0.0.rc.2 docs/sprockets.md
shakapacker-7.0.0.rc.1 docs/sprockets.md
shakapacker-7.0.0.rc.0 docs/sprockets.md
shakapacker-6.6.0 docs/sprockets.md
shakapacker-6.5.6 docs/sprockets.md
shakapacker-6.5.5 docs/sprockets.md
shakapacker-6.5.4 docs/sprockets.md