Skip to content
This repository has been archived by the owner on Nov 4, 2021. It is now read-only.

Allow browserify transforms after typescript compilation #39

Open
Sambego opened this issue Jun 28, 2016 · 1 comment
Open

Allow browserify transforms after typescript compilation #39

Sambego opened this issue Jun 28, 2016 · 1 comment

Comments

@Sambego
Copy link

Sambego commented Jun 28, 2016

I'm currently trying to build an app in which I need generator functions. Typescript can only handle them when compiling to es6, not when compiling to es5. It would be cool if I could compile the typescript to es6 (which is possible at the moment), and after that compile it to es6 withe babelify or do some other transforms on it.

Currently you can add browserify options. When specifying a transform here, it will also get executed before the typescript compilation.

@scic
Copy link

scic commented Aug 2, 2016

I would also welcome the option to execute stream transforms after the tsify plugin runs.
I plan to used it for gulp-inline-ng2-template which inlines templates for speedup.

See:
https://github.com/ludohenin/gulp-inline-ng2-template#browserify-transform-example

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants