-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stick to a single compiler: babel vs tsc #77303
Comments
Pinging @elastic/kibana-platform (Team:Platform) |
Pinging @elastic/kibana-operations (Team:Operations) |
The current plan for #69706 is to use |
I was able to hack a distributable of Kibana to no longer utilize |
In #77298 some compilation perf problems have been reported. I'd like to discuss options we have to decrease the compilation pipeline complexity. The main question is whether we need to run 2 different compilers: babel for code generation, tsc for type check and type declaration output, if most of our code is written in TS.
Pros of babel:
@babel/env
Benefits of tsc:
yarn start
,yarn test:jest --watch
)*.ts
files (parse TypeScript code to remove type annotations in the first pass, parse JS code in the second pass, generate source maps)Rebuilding the whole build-toolchain is a significant effort, so this issue is rather an attempt to discuss our long term vision on the ideal state of the matter.
For me, it makes sense to investigate
tsc
usage on the server-side to understand whether we gain a lot switch to it.The text was updated successfully, but these errors were encountered: