No commit activity in last 3 years
No release in over 3 years
Don't wrap Coffeescript compiled output in IIFEs if es6 module is being used
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 2.0
 Project Readme

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.