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 (elastic#96011) (elastic#96013)

Co-authored-by: spalger <[email protected]>

Co-authored-by: Spencer <[email protected]>
Co-authored-by: spalger <[email protected]>
  • Loading branch information
3 people authored Apr 1, 2021
1 parent 1b2d37e commit 1cd153e
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 1cd153e

Please sign in to comment.