TypeScript · Modules

customConditions

Conditions to set in addition to the resolver-specific defaults when resolving imports.

Syntax
"customConditions": []

Example

Example
{
  "compilerOptions": {
    "customConditions": []
  }
}

More in this group

allowArbitraryExtensions allowImportingTsExtensions allowUmdGlobalAccess baseUrl module moduleSuffixes noResolve noUncheckedSideEffectImports

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course