Sha256: f0332c63eb3431f1229ba8ef28fab10c04fceca08e42545b8249f8ed31ae1b44

Contents?: true

Size: 511 Bytes

Versions: 7

Compression:

Stored size: 511 Bytes

Contents

= Es6Tilt

Allows you to use es6 in your ruby apps (with tilt or sprockets).

== Rails Install
Add this to your Gemfile:
    gem 'es6_tilt'
Now add an initializer for the filetype you'd like to have. So for example.
   #config/initializers/sprockets.rb
   Rails.application.assets.register_engine '.es6', ES6Tilt::ES6Transformer
   
That will make files ending with .es6 show up as js in your browser.
Can work on .jsx files as well. It's just Babel in the background.

This project rocks and uses MIT-LICENSE.

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
es6_tilt-0.1.2 README.rdoc
es6_tilt-0.1.1 README.rdoc
es6_tilt-0.1.0 README.rdoc
es6_tilt-0.0.7 README.rdoc
es6_tilt-0.0.6 README.rdoc
es6_tilt-0.0.5 README.rdoc
es6_tilt-0.0.4 README.rdoc