lasso-js / lasso

Advanced JavaScript module bundler, asset pipeline and optimizer
582 stars 75 forks source link

There are plans to add support typescript of it? #264

Open AlexStacker opened 6 years ago

AlexStacker commented 6 years ago

I write code with typescript is very friendly,Is there any plan to add typescript plugin?

austinkelleher commented 6 years ago

Hey @AlexStacker. Right now, we don't have any plans to add TypeScript definitions. We'd love some help doing that if you're interested.

AlexStacker commented 6 years ago

It's not definitions, hope to provide the same plugin like lasso-babel-transform.Ts file can be used directly and then converted into js. I do not know if this way can be used in marko.

pajaydev commented 6 years ago

@AlexStacker you can use this plugin which transforms typescript to js before lasso loads.

pajaydev commented 6 years ago

@austinkelleher I have created plugin for this. @AlexStacker you can use this. I will be adding example soon. lasso-typescript

pajaydev commented 6 years ago

pull request https://github.com/lasso-js/lasso/pull/269