Skip to content

how to run a custom compiler (programmatically, not from commandline) #1265

Answered by cspotcode
robbiemu asked this question in Q&A
Discussion options

You must be logged in to vote

Check out our compiler option which is documented in the README. Like many of our options, it can be specified via your tsconfig.json for convenience.

For example:

{
  "ts-node": {
    "files": true,
    "compiler": "ttypescript",
  },
  "compilerOptions": {
    "plugins": [
      { "transform": "ts-transformer-keys/transformer" }
    ]
  }
}

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@cspotcode
Comment options

@robbiemu
Comment options

@cspotcode
Comment options

Answer selected by robbiemu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants