WebpackerToppings

This gem provides helpers for Webpacker

Installation

Add this line to your application's Gemfile:

gem 'webpacker_toppings'

And then execute:

$ bundle

Or install it yourself as:

$ gem install webpacker_toppings

Usage

Include the helpers you need in your app/helpers/application_helper.rb :

module ApplicationHelper
  include WebpackerToppings::Helpers::Packs
end

Helpers

Development and testing

  git clone [email protected]:codeur/webpacker_toppings.git
  cd webpacker_toppings
  bundle install
  cd test/dummy && bundle install && yarn install && cd ../..
  bin/test

Release (for Codeur dev team members)

Before all, configure your credentials for dev-codeur RubyGems account:

Login to RubyGems with the dev-codeur account Create a token which have rights to push gems (https://rubygems.org/profile/api_keys) Add it to your config:

echo ":rubygems_api_key: YOUR_API_KEY" >> ~/.gem/credentials

You just have to run default command:

rake release

License

The gem is available as open source under the terms of the MIT License.