mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 01:13:23 -04:00
[kbn/optimizer] import source-map-support in script to avoid breaking jest snapshots (#96011)
Co-authored-by: spalger <spalger@users.noreply.github.com>
This commit is contained in:
parent
5a9cff2644
commit
07a3f9eb8d
2 changed files with 1 additions and 2 deletions
|
@ -6,8 +6,6 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import 'source-map-support/register';
|
||||
|
||||
import Path from 'path';
|
||||
|
||||
import { REPO_ROOT } from '@kbn/utils';
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
*/
|
||||
|
||||
require('../src/setup_node_env/ensure_node_preserve_symlinks');
|
||||
require('source-map-support/register');
|
||||
require('@kbn/optimizer').runKbnOptimizerCli({
|
||||
defaultLimitsPath: require.resolve('../packages/kbn-optimizer/limits.yml'),
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue