From d2361d95d32f14e1ed7481f9c3ec16e56f15de27 Mon Sep 17 00:00:00 2001 From: MUI bot <2109932+Janpot@users.noreply.github.com> Date: Fri, 9 Aug 2024 18:03:14 +0200 Subject: [PATCH 1/5] Upgrade babel runtime --- babel.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/babel.config.js b/babel.config.js index 5940d3b7bb9542..2965cd8fc9fbd9 100644 --- a/babel.config.js +++ b/babel.config.js @@ -72,7 +72,7 @@ module.exports = function getBabelConfig(api) { { useESModules, // any package needs to declare 7.4.4 as a runtime dependency. default is ^7.0.0 - version: '^7.4.4', + version: '^7.25.0', }, ], [ From 4794538b3e2ce28381f8dd48584f4ad21de43b01 Mon Sep 17 00:00:00 2001 From: MUI bot <2109932+Janpot@users.noreply.github.com> Date: Fri, 9 Aug 2024 18:24:19 +0200 Subject: [PATCH 2/5] Update webpack.config.js --- scripts/sizeSnapshot/webpack.config.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/sizeSnapshot/webpack.config.js b/scripts/sizeSnapshot/webpack.config.js index 92c97758bc8792..8522e82268c198 100644 --- a/scripts/sizeSnapshot/webpack.config.js +++ b/scripts/sizeSnapshot/webpack.config.js @@ -169,8 +169,7 @@ function createWebpackConfig(entry, environment) { library: { // TODO: Use `type: 'module'` once it is supported (currently incompatible with `externals`) name: 'M', - type: 'var', - // type: 'module', + type: 'module', }, path: path.join(__dirname, 'build'), }, From a8a1612fb30a12eb58d0058ac1fafe41a9ca6241 Mon Sep 17 00:00:00 2001 From: MUI bot <2109932+Janpot@users.noreply.github.com> Date: Fri, 9 Aug 2024 18:28:36 +0200 Subject: [PATCH 3/5] Update webpack.config.js --- scripts/sizeSnapshot/webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/sizeSnapshot/webpack.config.js b/scripts/sizeSnapshot/webpack.config.js index 8522e82268c198..792d4f9ee65877 100644 --- a/scripts/sizeSnapshot/webpack.config.js +++ b/scripts/sizeSnapshot/webpack.config.js @@ -169,7 +169,7 @@ function createWebpackConfig(entry, environment) { library: { // TODO: Use `type: 'module'` once it is supported (currently incompatible with `externals`) name: 'M', - type: 'module', + type: 'var', }, path: path.join(__dirname, 'build'), }, From 43e006fb9b9a907157d985bc631b5c1172aa8e37 Mon Sep 17 00:00:00 2001 From: MUI bot <2109932+Janpot@users.noreply.github.com> Date: Fri, 9 Aug 2024 18:34:54 +0200 Subject: [PATCH 4/5] Update webpack.config.js --- scripts/sizeSnapshot/webpack.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/sizeSnapshot/webpack.config.js b/scripts/sizeSnapshot/webpack.config.js index 792d4f9ee65877..92c97758bc8792 100644 --- a/scripts/sizeSnapshot/webpack.config.js +++ b/scripts/sizeSnapshot/webpack.config.js @@ -170,6 +170,7 @@ function createWebpackConfig(entry, environment) { // TODO: Use `type: 'module'` once it is supported (currently incompatible with `externals`) name: 'M', type: 'var', + // type: 'module', }, path: path.join(__dirname, 'build'), }, From 17935784d279ada5c213e49e607b5f8f0f652bad Mon Sep 17 00:00:00 2001 From: Jan Potoms <2109932+Janpot@users.noreply.github.com> Date: Wed, 14 Aug 2024 13:43:18 +0200 Subject: [PATCH 5/5] Update babel.config.js Co-authored-by: Flavien DELANGLE Signed-off-by: Jan Potoms <2109932+Janpot@users.noreply.github.com> --- babel.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/babel.config.js b/babel.config.js index 2965cd8fc9fbd9..69d3b12899ddbe 100644 --- a/babel.config.js +++ b/babel.config.js @@ -71,7 +71,7 @@ module.exports = function getBabelConfig(api) { '@babel/plugin-transform-runtime', { useESModules, - // any package needs to declare 7.4.4 as a runtime dependency. default is ^7.0.0 + // any package needs to declare 7.25.0 as a runtime dependency. default is ^7.0.0 version: '^7.25.0', }, ],