SdkTestingCloudScript icon indicating copy to clipboard operation
SdkTestingCloudScript copied to clipboard

Cloudscript github integration doesn't seem to work with 'outDir' set in tsconfig.json

Open andy-hugecalf opened this issue 5 years ago • 1 comments

I have 'outDir' to to "./lib/" in my tsconfig.json file so that the JS files aren't a mess in amongst the TS files. However when pushing to my remote repo (which is already set up and tested with cloudscript), a new revision doesn't appear.

When I ditch the outDir parameter, and set the 'outFile' parameter in tsconfig to "./main.js" and push, the revision is picked up almost instantly.

Can it be set so that it picks up .js files in all sub directories, so that we don't have to have a mix of js and ts files in the same directory?

Cheers, Andy

andy-hugecalf avatar Jun 09 '20 16:06 andy-hugecalf

I have the same issue here. I've searched their whole discord server and didn't see a solution so I instead used rollup. rollup is a bundler that allows you to bundle ts files to one single js file

you can check the template I've used in typescript project template

programminglaboratorys avatar Nov 25 '24 18:11 programminglaboratorys