From 1ed50e97f8ba1ff522d8960cca6f29d9ca2135c2 Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Wed, 22 Nov 2023 07:50:04 -0600 Subject: [PATCH 1/3] Update babel runtime helpers --- packages/kbn-ui-shared-deps-npm/webpack.config.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/packages/kbn-ui-shared-deps-npm/webpack.config.js b/packages/kbn-ui-shared-deps-npm/webpack.config.js index 627a1747c0b2d..7576ba9e145d9 100644 --- a/packages/kbn-ui-shared-deps-npm/webpack.config.js +++ b/packages/kbn-ui-shared-deps-npm/webpack.config.js @@ -49,28 +49,13 @@ module.exports = (_, argv) => { * node scripts/find_babel_runtime_helpers_in_use.js */ '@babel/runtime/helpers/assertThisInitialized', - '@babel/runtime/helpers/asyncToGenerator', - '@babel/runtime/helpers/classCallCheck', '@babel/runtime/helpers/classPrivateFieldGet', '@babel/runtime/helpers/classPrivateFieldSet', - '@babel/runtime/helpers/createClass', - '@babel/runtime/helpers/createForOfIteratorHelper', - '@babel/runtime/helpers/createSuper', '@babel/runtime/helpers/defineProperty', '@babel/runtime/helpers/extends', - '@babel/runtime/helpers/inherits', '@babel/runtime/helpers/inheritsLoose', - '@babel/runtime/helpers/interopRequireDefault', - '@babel/runtime/helpers/interopRequireWildcard', - '@babel/runtime/helpers/objectSpread2', - '@babel/runtime/helpers/objectWithoutProperties', - '@babel/runtime/helpers/objectWithoutPropertiesLoose', - '@babel/runtime/helpers/slicedToArray', '@babel/runtime/helpers/taggedTemplateLiteralLoose', - '@babel/runtime/helpers/toConsumableArray', - '@babel/runtime/helpers/typeof', '@babel/runtime/helpers/wrapNativeSuper', - '@babel/runtime/regenerator', // modules from npm '@elastic/charts', From 310cb119357549979880a07908d17cc833de1c13 Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Tue, 26 Dec 2023 17:18:33 -0600 Subject: [PATCH 2/3] test node-libs-browser --- packages/kbn-ui-shared-deps-npm/webpack.config.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/kbn-ui-shared-deps-npm/webpack.config.js b/packages/kbn-ui-shared-deps-npm/webpack.config.js index 7576ba9e145d9..49059678a9532 100644 --- a/packages/kbn-ui-shared-deps-npm/webpack.config.js +++ b/packages/kbn-ui-shared-deps-npm/webpack.config.js @@ -36,11 +36,6 @@ module.exports = (_, argv) => { 'core-js/stable', 'whatwg-fetch', 'symbol-observable', - // Parts of node-libs-browser that are used in many places across Kibana - 'buffer', - 'punycode', - 'util', - /** * babel runtime helpers referenced from entry chunks * determined by running: From c661169e96326519f786fc65e69ff6dafe8da9e7 Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Wed, 27 Dec 2023 14:58:27 -0600 Subject: [PATCH 3/3] Revert "test node-libs-browser" This reverts commit 310cb119357549979880a07908d17cc833de1c13. --- packages/kbn-ui-shared-deps-npm/webpack.config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/kbn-ui-shared-deps-npm/webpack.config.js b/packages/kbn-ui-shared-deps-npm/webpack.config.js index 49059678a9532..7576ba9e145d9 100644 --- a/packages/kbn-ui-shared-deps-npm/webpack.config.js +++ b/packages/kbn-ui-shared-deps-npm/webpack.config.js @@ -36,6 +36,11 @@ module.exports = (_, argv) => { 'core-js/stable', 'whatwg-fetch', 'symbol-observable', + // Parts of node-libs-browser that are used in many places across Kibana + 'buffer', + 'punycode', + 'util', + /** * babel runtime helpers referenced from entry chunks * determined by running: