Sha256: ea3484873ee8d2fb37b282a9a36f4bd0b42d8b8eabd57bee25a7ed9e1c4842d9
Contents?: true
Size: 678 Bytes
Versions: 1
Compression:
Stored size: 678 Bytes
Contents
# frozen_string_literal: true require 'parcel/rails/version' require 'parcel/rails/runner' require 'parcel/rails/parcel_generator' module Parcel # Parceljs integration with Rails module Rails if defined?(::Rails) module Rails class Application attr_accessor :parcel end end class Railtie < ::Rails::Railtie railtie_name :parcel rake_tasks do load 'parcel/rails/tasks.rake' end config.parcel = ActiveSupport::OrderedOptions.new config.parcel.entry_points = %w(app/javascript/application.js) config.parcel.destination = 'public/parcels' end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
parcel-rails-0.9.0 | lib/parcel-rails.rb |