-
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
[babel-register] ignore built canvas plugins #25913
[babel-register] ignore built canvas plugins #25913
Conversation
Pinging @elastic/kibana-operations |
💚 Build Succeeded |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! @spalger maybe @elastic/kibana-canvas could use a different extension, like .es6
for files they will need to be parsed by babel-register because they will be copied as-is. In case they do that we will be able to automatically ignore everything in the register.
…ore-built-canvas-plugin
💚 Build Succeeded |
6.x/6.6: 8f84950 |
This PR adds an exclude regex to babel-register that excludes the built plugins from canvas, except for the items in the
functions/server
directory. This is the only directory that is copied as-is fromcanvas_plugin_src
, and therefore is reliant on babel-register, but I'm not sure it's the only directory that will ever be reliant on babel-register so cc: @elastic/kibana-canvas