I am using mono repo with npm workspaces. Repo has 3 packages
- server - server code
- commons - common code shared between server and ionic-app
- ionic-app - ionic app
Both server and commons app are configured with target of ‘ES2020’ as follows.
{
"compilerOptions": {
"target": "ES2020",
"module": "commonjs",
"lib": ["ES2020"],
}
}
But ionic react app which uses commons package has target of ‘es5’. To match with commons tsconfig, if I change target of ionic app to “ES2020” and module to ‘commonjs’, will there be any compatibility issue while running app in mobile platform?
1 post - 1 participant