question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

support plugins section from compilerOptions

See original GitHub issue

🚀 Feature Proposal

If you use ttypescript, you can define plugins section in compilerOptions It would be great to make it visible in ts-jest

Motivation

do not duplicate plugins in tsconfig.json and jest.config.js

Example

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
ahnpnlcommented, Aug 31, 2020

Yes I think ttypescript picked something uniquely and not used by TypeScript team so they can avoid conflict.

The current documentation is showing new config, which was introduced in https://github.com/kulshekhar/ts-jest/pull/1831, that is why it was different comparing to 24.3.0.

The setting in 24.3.0 is still working with current version but is deprecated and will be removed in v27.

0reactions
ahnpnlcommented, Sep 2, 2020

https://github.com/kulshekhar/ts-jest/blob/v26.1.4/docs/user/config/astTransformers.md

You cannot pass option to directly to transformer but you can use ConfigSet as an input. ConfigSet represents ts-jest config. You can check the example of hoist-jest or README which is linked in online documentation

Read more comments on GitHub >

github_iconTop Results From Across the Web

plugins - TSConfig Option - TypeScript
TSConfig. plugins. Customize. Site Colours: ... Community. Get Help · Blog · GitHub Repo · Community Chat · @TypeScript · Stack Overflow ·...
Read more >
Support new compiler options of TS 4.5+ - `nodenext ... - GitHub
So the proposed fix for the Rollup TS plugin while the peer dependency remains at >= 3.7.0 for TS is to add in...
Read more >
compilerOptions.paths must not be set (alias imports are not ...
when I compile my project in VS Code, it removes the paths entry from tsconfig.json with the following message. Why alias imports are...
Read more >
jsconfig.json Reference - Visual Studio Code
Below are jsconfig "compilerOptions" to configure the JavaScript language support. Tip: Do not be confused by compilerOptions , since no actual compilation is ......
Read more >
Angular compiler options
Like the TypeScript compiler, the Angular AOT compiler also supports extends in the angularCompilerOptions section of the TypeScript configuration file.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found