No commit activity in last 3 years
No release in over 3 years
A typescript web filter for rake-pipeline
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

Rake::Pipeline::Typescript

This is a typescript filter to compile Tyescript files in the Rake Pipeline. Probably not ready for production. It appears to be quite slow, and my hunch is that it's due to spawning a separate Node process for each file that needs to be compiled. However, typescript-rails is using the typescript-node-ruby library as well without complaint, so maybe the TS compiler is slow. I'm publishing it anyway. Please feel free to send pull requests.

(I shamelessly forked rake-pipeline-web-filters since this is my first Gem)

Here's how you'd use it in your Assetfile:

# Assetfile
require 'rake-pipeline-typescript'

#Other stuff up here (CoffeeScript, etc)

match "**/*.ts" do
  type_script
end

#More stuff down here...