oh, well i could have both `/SuiteScripts/myCompan...
# suitescript
d
oh, well i could have both
/SuiteScripts/myCompany/lib/my_first.ts
, and
tsc
would output
/SuiteScripts/myCompany/lib/my_first.js
. I think I could technically deploy
/SuiteScripts/myCompay/lib/*
, so that both the .ts and .js files are uploaded into the filecabinet
j
I don't think there's much value in deploying ts sources to file cabinet since they won't be executed. Conversely, I don't track the resulting js files in my git repository. I compile and deploy in the same step, and don't track the intermediate files. I have an example project on github. Here is the suitelet entrypoint https://github.com/jeffreymkabot/netsuite-task-status/blob/master/src/task-status/task_status_sl.ts