ligershark/WebOptimizer.TypeScript

Name: WebOptimizer.TypeScript

Owner: LigerShark

Description: null

Created: 2017-09-08 20:55:42.0

Updated: 2017-12-12 20:05:30.0

Pushed: 2017-11-21 17:48:29.0

Homepage: null

Size: 526

Language: C#

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

A TypeScript compiler for ASP.NET Core

Build status NuGet

This package compiles TypeScript, ES6 and JSX files into ES5 by hooking into the LigerShark.WebOptimizer pipeline.

Usage

You can reference any TypeScript file directly in the browser and a compiled ES5 JavaScript document will be served. To set that up, do this:

ices.AddWebOptimizer(pipeline =>

pipeline.CompileTypeScirptFiles();

Or if you just want to parse specific TypeScript files, do this:

ices.AddWebOptimizer(pipeline =>

pipeline.CompileTypeScriptFiles("/path/file1.ts", "/path/file2.ts");


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.