RE: Using Typescript with SDF Deploy

Hi,

Could someone please suggest how to use typescript for creating Suitescripts and deploy using SDF? Any references will be helpful.

cbhumireddy Rookie Asked on November 12, 2019 in SuiteScript.
Add Comment
2 Answers

It looks like there might be a different process for TypeScript in WebStorm:

https://blog.jetbrains.com/webstorm/2016/03/how-to-compile-typescript-in-webstorm/

 

I’m not yet planning to use TS but am experimenting with the latest versions of JavaScript.

 

I’ve not got as far as a fully working solution once the compiled code is generated but am working on a couple of possibilities:

  • Having a separate folder tree for source code (not included in deploy.xml) that is then transpiled into the deployable section.
  • Having the transpiled files alongside the source files but excluding the source file types from deploy.xml.

In either case, I’m not yet certain what deploy.xml offers in terms of filtering, selection, exclusion, etc.

Thanks,

Chris

Advanced Answered on November 12, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.