deepkit-framework icon indicating copy to clipboard operation
deepkit-framework copied to clipboard

feat(type,type-compiler): inline external library imports

Open marcus-sa opened this issue 1 year ago • 0 comments

Summary of changes

Supersedes https://github.com/deepkit/deepkit-framework/pull/517

This introduces a new entry for the type compiler options in tsconfig.json.

{
  "deepkitTypeCompilerOptions": {
    "inlineExternalLibraryImports": {
      "rxjs": true, // mark all imports to be inlined
      // or
      "rxjs": ["Observable", "Subject"] // mark selected imports to be inlined
    }
  }
}

Relinquishment of Rights

Please mark following checkbox to confirm that you relinquish all rights of your changes:

  • [x] I waive and relinquish all rights regarding this changes (including code, text, and images) to Deepkit UG (limited), Germany. This changes (including code, text, and images) are under MIT license without name attribution, copyright notice, and permission notice requirement.

marcus-sa avatar Jan 23 '24 13:01 marcus-sa