Skip to content

A small example for 'Project References'. A typescript feature introduced in version 3.0.

License

Notifications You must be signed in to change notification settings

thdk/TS3-projects-references-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Typescript 3.0+ feature 'Project references'

A small example for 'Project References'. A typescript feature introduced in version 3.0.

This repo has two branches:

  • es
  • commonjs

The project structure exists of three projects.

  • common
  • project-a
  • project-b

Each having their own tsconfig file.

project-a and project-b both have a reference in tsconfig to the common project.

To build both project-a and project-b run

tsc -b project-a project-b or npm run buildAll

The lib project will be automatically build as it is listed as a reference.

About

A small example for 'Project References'. A typescript feature introduced in version 3.0.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published