Skip to content

elucid/sprockets-es6-coffee

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sprockets Es6Coffee

If we are using Coffeescript with ES6 modules, we do not want our Coffeescript compiled output to be wrapped in IIFEs as this is not supported by the ES6 spec.

Usage

Spec the gem in your Gemfile and bundle install.

gem 'sprockets-es6-coffee'

The gem overrides the .coffee extension to not wrap Coffeescript compiled output in an IIFE if it will be processed by the .es6 module preprocessor.

About

Render CoffeeScript files with the --bare option. Useful for JS spec helpers.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%