mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[babel-register] ignore built canvas plugins (#25913)
This commit is contained in:
parent
88af88ccdb
commit
ca778375db
1 changed files with 6 additions and 2 deletions
|
@ -38,8 +38,12 @@ var ignore = [
|
|||
// https://github.com/elastic/kibana/issues/14800#issuecomment-366130268
|
||||
|
||||
// ignore paths matching `/node_modules/{a}/{b}`, unless `a`
|
||||
// is `x-pack` and `b` is not `node_modules`
|
||||
/\/node_modules\/(?!(x-pack\/|@kbn\/interpreter\/)(?!node_modules)([^\/]+))([^\/]+\/[^\/]+)/
|
||||
// is `x-pack` or `@kbn/interpreter` and `b` is not `node_modules`
|
||||
/\/node_modules\/(?!(x-pack\/|@kbn\/interpreter\/)(?!node_modules)([^\/]+))([^\/]+\/[^\/]+)/,
|
||||
|
||||
// ignore paths matching `/canvas/canvas_plugin/{a}/{b}` unless
|
||||
// `a` is `functions` and `b` is `server`
|
||||
/\/canvas\/canvas_plugin\/(?!functions\/server)([^\/]+\/[^\/]+)/,
|
||||
];
|
||||
|
||||
if (global.__BUILT_WITH_BABEL__) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue