Sha256: e1faab81ecdf72303be3663464f6174b6b0990db9c0b24d7a62965220f8a24be

Contents?: true

Size: 614 Bytes

Versions: 1

Compression:

Stored size: 614 Bytes

Contents

require "pathname"

require "sprockets"
require "sprockets/export/version"
require "sprockets/export/store"
require "sprockets/export/directive_processor"
require "sprockets/export/metadata_injector"
require "sprockets/export/bundle_processor"

module Sprockets::Export
  def self.lib_path
    @lib_path ||= Pathname.new(File.expand_path("../..", __FILE__))
  end
end


Sprockets.append_path Sprockets::Export.lib_path
Sprockets.register_postprocessor    "application/javascript", Sprockets::Export::MetadataInjector
Sprockets.register_bundle_processor "application/javascript", Sprockets::Export::BundleProcessor

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sprockets-export-1.0.0 lib/sprockets/export.rb