[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:
Spencer 2021-03-31 18:36:52 -07:00 committed by GitHub
parent 5a9cff2644
commit 07a3f9eb8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View file

@ -6,8 +6,6 @@
* Side Public License, v 1.
*/
import 'source-map-support/register';
import Path from 'path';
import { REPO_ROOT } from '@kbn/utils';

View file

@ -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'),
});