iTwin / viewer

Monorepo that contains the iTwin Viewer npm packages and their related packages
MIT License
25 stars 16 forks source link

Synchronize tsconfig targets in the monorepo #133

Closed kckst8 closed 1 year ago

kckst8 commented 2 years ago

multiple different targets are being used. All should be "es2020". Ensure that everything builds and runs after the change

aruniverse commented 2 years ago

Take a look at:

In the tsconfig for itwin/viewer-react, itwin/web-viewer-react, itwin/desktop-viewer-react, they extend the one found in core, so you will need to manually add an entry for "target": "ES2020" to override whats in the base.

Please test the web-viewer-test app in the repo, I think last summer when i tried to update to es2020, webpack4 didnt work with it.