Sha256: dec7d2d1ee2b1312767e9e71a5e8b4d16e02d65832f7eac26318ec04367e1b04

Contents?: true

Size: 311 Bytes

Versions: 4

Compression:

Stored size: 311 Bytes

Contents

require "yarii-cloudinary/engine"

module YariiCloudinary
  ROOT_PATH = Pathname.new(File.join(__dir__, ".."))

  class << self
    def webpacker
      @webpacker ||= ::Webpacker::Instance.new(
        root_path: ROOT_PATH,
        config_path: ROOT_PATH.join("config/webpacker.yml")
      )
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
yarii-cloudinary-0.2.3 lib/yarii-cloudinary.rb
yarii-cloudinary-0.2.2 lib/yarii-cloudinary.rb
yarii-cloudinary-0.2.1 lib/yarii-cloudinary.rb
yarii-cloudinary-0.2.0 lib/yarii-cloudinary.rb