Skip to content

Commit

Permalink
[kbn/optimizer] import source-map-support in script to avoid breaking…
Browse files Browse the repository at this point in the history
… jest snapshots (#96011)

Co-authored-by: spalger <[email protected]>
  • Loading branch information
2 people authored and kibanamachine committed Apr 1, 2021
1 parent 102d34a commit 17819dd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions packages/kbn-optimizer/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* Side Public License, v 1.
*/

import 'source-map-support/register';

import Path from 'path';

import { REPO_ROOT } from '@kbn/utils';
Expand Down
1 change: 1 addition & 0 deletions scripts/build_kibana_platform_plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
});

0 comments on commit 17819dd

Please sign in to comment.