[IE11] Kibana doesn't transpile correctly in development mode#58771
[IE11] Kibana doesn't transpile correctly in development mode#58771alexwizp wants to merge 1 commit intoelastic:masterfrom
Conversation
|
Pinging @elastic/kibana-app-arch (Team:AppArch) |
|
@elasticmachine merge upstream |
|
I'm cool with this approach as long as @elastic/kibana-operations is on board, especially considering we did the same thing in #35804 so it is not without precedent. If for some reason this isn't viable, perhaps a next step would be looking further into Jason's idea about using This would be a much more involved change though -- so if dropping IE11 support in the future is inevitable, I prefer the simplicity of this solution. |
|
I just tested this in IE11 and am still seeing syntax errors in |
wylieconlon
left a comment
There was a problem hiding this comment.
I know this is a draft, but let's make sure this solution works in IE11
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
|
Feedback from @elastic/kibana-operations was that we should not change the config like this to allow for compiling additional This leaves a few other options:
After thinking about option 4, one other idea I had is creating an "empty" package in Kibana that basically exists to run I put up a POC illustrating this. The only material difference between that technique and this PR is that babel will transpile up front during I'm going to discuss pros & cons of our options with the team on Monday and will follow up here. |
|
I chatted again with our friendly neighborhood ops team today. The conclusion was:
Wylie's PR basically reverts parts of the original PR, including the IMO this is the better hybrid approach -- the POC I made works, but feels hacky and brittle. Whereas we know things we working well with Longer term, we should definitely still explore our options once it's safe to drop IE11 support -- maybe at that point it makes sense to go back to |
Closes: #58684
Summary
@joshdover @lukeelmers
Unfortunately, due to another API and the lack of TypeScript types in the v5 version of
query-stringlibrary, we cannot easily downgrade it.But some time ago we already faced with very similar issue here #35804. Looks like we can use the same approach for
query-stringlibI prepared some screens from our dll bundles to show you that this approach should help. Please see
Before:

After:

Checklist
Delete any items that are not applicable to this PR.
For maintainers