Sha256: a7059aa10b3fac4f5c333a74e862ae90e5b5317dbad34893e7cc208202fc2afa

Contents?: true

Size: 413 Bytes

Versions: 1

Compression:

Stored size: 413 Bytes

Contents

require 'middleman-core'
require 'middleman-react/jsx'
require 'middleman-react/jsx/template'

# Middleman extension entry point
module Middleman
  module React
    class Extension < Middleman::Extension
      def initialize(app, options_hash = {}, &block)
        ::Tilt.register 'jsx', Middleman::React::Template
        ::Sprockets.register_engine 'jsx', Middleman::React::Template
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
middleman-react-0.0.2 lib/middleman-react/extension.rb