typescript-ruby / typescript-rails

An asset pipeline wrapper for the TypeScript language
MIT License
255 stars 30 forks source link

Add Sprockets 4 support. #43

Closed mihai-dinculescu closed 7 years ago

mihai-dinculescu commented 7 years ago

register_engine is gone and is replaced by register_mime_type and register_transformer.

While it is possible to have a single handler for all sprockets versions (2, 3, 4), I have decided to make a separate one for sprockets 4 because it simplifies maintenance.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-1.7%) to 93.893% when pulling 678c901bcfc6d40b6bed83d7f5dad75c0e1bddd8 on mihai-dinculescu:sprockets_4 into 3cc9d41110699021e6970e84266f7b58f9ff06fe on typescript-ruby:master.