Sha256: 1269815586f2c2defe2b36b9d52f7fbcc8de97536d8d7067d0a63fa46d0364a8

Contents?: true

Size: 598 Bytes

Versions: 1

Compression:

Stored size: 598 Bytes

Contents

require "pathname"

require "sprockets/export/version"
require "sprockets/export/namespace"
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-0.9.1 lib/sprockets/export.rb