mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[APM] Fix synthtrace cli script (#140219)
This commit is contained in:
parent
0e9845f13e
commit
a05fab06ea
1 changed files with 4 additions and 1 deletions
|
@ -6,7 +6,10 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
require('../src/setup_node_env');
|
||||
require('@babel/register')({
|
||||
extensions: ['.ts', '.js'],
|
||||
presets: [['@babel/preset-env', { targets: { node: 'current' } }], '@babel/preset-typescript'],
|
||||
});
|
||||
|
||||
// We have to import directly from package since scenarios and worker.js are imported dynamically,
|
||||
// If we import the package (require('@kbn/apm-synthtrace')) the program will be executed on the compiled files, and thus we need to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue