2014-05-05 18:04:09 -04:00
|
|
|
require 'sprockets'
|
|
|
|
|
2018-10-08 21:18:23 -04:00
|
|
|
Sprockets.register_mime_type 'application/ecmascript6', extensions: ['.es6', '.js.es6', '.js.no-module.es6'], charset: :unicode
|
2017-04-17 10:11:51 -04:00
|
|
|
Sprockets.register_transformer 'application/ecmascript6', 'application/javascript', Tilt::ES6ModuleTranspilerTemplate
|