#When you compile the TypeScript project where do the JS files end up?

7 messages · Page 1 of 1 (latest)

drifting ice
#

I'm looking at built/local but I can't find the JS versions of the files

sage sky
#

@drifting ice Depends on your tsconfig. outDir is usually the setting that puts the compiled JS files into their own folder

drifting ice
# sage sky <@456226577798135808> Depends on your tsconfig. `outDir` is usually the setting...

I'm refering to the TypeScript project for the language. The config seems to look like this:

{
    "files": [],
    "include": [],
    "references": [
        { "path": "./cancellationToken" },
        { "path": "./compiler" },
        { "path": "./deprecatedCompat" },
        { "path": "./harness" },
        { "path": "./jsTyping" },
        { "path": "./server" },
        { "path": "./services" },
        { "path": "./testRunner" },
        { "path": "./tsc" },
        { "path": "./tsserver" },
        { "path": "./typescript" },
        { "path": "./typingsInstaller" },
        { "path": "./typingsInstallerCore" },
        { "path": "./watchGuard" }
    ]
}

sage sky
#

Oh, maybe try #compiler-internals-and-api

rough karma
#

@drifting ice It is in TypeScript/built/local indeed

#

Should have around 20 folders and 50 root level files there after build

#

But you don't built it with tsc