Skip to content
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

[canvas/plugins] enable typescript support #26050

Merged
merged 3 commits into from
Nov 22, 2018

Conversation

spalger
Copy link
Contributor

@spalger spalger commented Nov 21, 2018

This pr just adds the ts-loader to the canvas plugins' webpack config to support ts there.

@spalger spalger added Team:Operations Team label for Operations Team v7.0.0 Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas v6.6.0 labels Nov 21, 2018
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations

@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-canvas

@clintandrewhall
Copy link
Contributor

LGTM... I'm going to patch it down and test it against my changes.

@rashidkpc
Copy link
Contributor

rashidkpc commented Nov 21, 2018

I'm no typescript expert, but the changes here are minimal:

  • refactors the webpack config object to a function getWebpackConfig
  • Adds ts-loader

Seems fine to me as long as someone can validate it actually works.

@rashidkpc rashidkpc requested review from rashidkpc and removed request for rashidkpc November 21, 2018 22:16
@elasticmachine
Copy link
Contributor

💔 Build Failed

@clintandrewhall
Copy link
Contributor

Works with my code: #26044 with no weird side effects. Thanks!

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@spalger spalger force-pushed the implement/canvas-plugin-ts-support branch from 5fab7c7 to 78ae637 Compare November 21, 2018 23:56
@elastic elastic deleted a comment from elasticmachine Nov 22, 2018
@spalger spalger force-pushed the implement/canvas-plugin-ts-support branch from 78ae637 to be519f2 Compare November 22, 2018 01:05
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@spalger spalger merged commit bdcccfb into elastic:master Nov 22, 2018
spalger pushed a commit to spalger/kibana that referenced this pull request Nov 22, 2018
@spalger
Copy link
Contributor Author

spalger commented Nov 22, 2018

6.x/6.6: 439e0a8

@spalger spalger deleted the implement/canvas-plugin-ts-support branch November 22, 2018 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Operations Team label for Operations Team Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas v6.6.0 v7.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants