From a886cf5519f04dba5b2cddd6d84e6d02d4f71e92 Mon Sep 17 00:00:00 2001 From: MUI bot <2109932+Janpot@users.noreply.github.com> Date: Thu, 5 Sep 2024 18:13:02 +0200 Subject: [PATCH 1/7] Update package.json --- packages/mui-icons-material/package.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/packages/mui-icons-material/package.json b/packages/mui-icons-material/package.json index c41265b5d3145c..9e8540490e74d2 100644 --- a/packages/mui-icons-material/package.json +++ b/packages/mui-icons-material/package.json @@ -83,5 +83,25 @@ }, "engines": { "node": ">=14.0.0" + }, + "exports": { + ".": { + "types": "./index.d.ts", + "import": "./esm/index.js", + "require": "./index.js" + }, + "./*": { + "types": "./index.d.ts", + "import": "./esm/*.js", + "require": "./*.js" + }, + "./*.js": { + "types": "./index.d.ts", + "import": "./esm/*.js", + "require": "./*.js" + }, + "./esm/*": "./esm/*.js", + "./esm/*.js": "./esm/*.js", + "./utils/*": null } } From bede4982c3a784efa697793fe111c08f80017152 Mon Sep 17 00:00:00 2001 From: MUI bot <2109932+Janpot@users.noreply.github.com> Date: Thu, 5 Sep 2024 18:29:00 +0200 Subject: [PATCH 2/7] Update package.json --- packages/mui-icons-material/package.json | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/packages/mui-icons-material/package.json b/packages/mui-icons-material/package.json index 9e8540490e74d2..6f6a48fccdd342 100644 --- a/packages/mui-icons-material/package.json +++ b/packages/mui-icons-material/package.json @@ -87,16 +87,13 @@ "exports": { ".": { "types": "./index.d.ts", + "node": "./index.js", "import": "./esm/index.js", "require": "./index.js" }, "./*": { - "types": "./index.d.ts", - "import": "./esm/*.js", - "require": "./*.js" - }, - "./*.js": { - "types": "./index.d.ts", + "types": "./*.d.ts", + "node": "./*.js", "import": "./esm/*.js", "require": "./*.js" }, From 365fb83b35feb0824853beeec607a06f8a4dc6f4 Mon Sep 17 00:00:00 2001 From: MUI bot <2109932+Janpot@users.noreply.github.com> Date: Thu, 5 Sep 2024 18:41:47 +0200 Subject: [PATCH 3/7] Update vite.config.ts --- apps/pigment-css-vite-app/vite.config.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/apps/pigment-css-vite-app/vite.config.ts b/apps/pigment-css-vite-app/vite.config.ts index 4b00635a94362b..424efc8aebab94 100644 --- a/apps/pigment-css-vite-app/vite.config.ts +++ b/apps/pigment-css-vite-app/vite.config.ts @@ -45,12 +45,4 @@ export default defineConfig({ Pages(), splitVendorChunkPlugin(), ], - resolve: { - alias: [ - { - find: /^@mui\/icons-material\/(.*)/, - replacement: '@mui/icons-material/esm/$1', - }, - ], - }, }); From 4015424b8436542213d03283e6adb4bd3deeea6c Mon Sep 17 00:00:00 2001 From: MUI bot <2109932+Janpot@users.noreply.github.com> Date: Thu, 5 Sep 2024 18:48:09 +0200 Subject: [PATCH 4/7] Update package.json --- packages/mui-icons-material/package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/mui-icons-material/package.json b/packages/mui-icons-material/package.json index 6f6a48fccdd342..92290ff0358b96 100644 --- a/packages/mui-icons-material/package.json +++ b/packages/mui-icons-material/package.json @@ -98,7 +98,6 @@ "require": "./*.js" }, "./esm/*": "./esm/*.js", - "./esm/*.js": "./esm/*.js", - "./utils/*": null + "./esm/*.js": "./esm/*.js" } } From 8cd6e2b9d6dd3012b17a9d65dcb67ec29efa5c42 Mon Sep 17 00:00:00 2001 From: MUI bot <2109932+Janpot@users.noreply.github.com> Date: Thu, 5 Sep 2024 18:55:44 +0200 Subject: [PATCH 5/7] Update package.json --- packages/mui-icons-material/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/mui-icons-material/package.json b/packages/mui-icons-material/package.json index 92290ff0358b96..ce4b5ec7169ead 100644 --- a/packages/mui-icons-material/package.json +++ b/packages/mui-icons-material/package.json @@ -97,6 +97,7 @@ "import": "./esm/*.js", "require": "./*.js" }, + "./esm": "./esm/index.js", "./esm/*": "./esm/*.js", "./esm/*.js": "./esm/*.js" } From e99fd47f40310a74480dfa21ebb48c04a0b76e04 Mon Sep 17 00:00:00 2001 From: MUI bot <2109932+Janpot@users.noreply.github.com> Date: Thu, 5 Sep 2024 18:57:37 +0200 Subject: [PATCH 6/7] Update package.json --- packages/mui-icons-material/package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/mui-icons-material/package.json b/packages/mui-icons-material/package.json index ce4b5ec7169ead..92290ff0358b96 100644 --- a/packages/mui-icons-material/package.json +++ b/packages/mui-icons-material/package.json @@ -97,7 +97,6 @@ "import": "./esm/*.js", "require": "./*.js" }, - "./esm": "./esm/index.js", "./esm/*": "./esm/*.js", "./esm/*.js": "./esm/*.js" } From 7d0a5286b35e7200c82c030755cb6e4c39984122 Mon Sep 17 00:00:00 2001 From: MUI bot <2109932+Janpot@users.noreply.github.com> Date: Tue, 10 Sep 2024 09:44:05 +0200 Subject: [PATCH 7/7] Remove node condition --- packages/mui-icons-material/package.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/mui-icons-material/package.json b/packages/mui-icons-material/package.json index 92290ff0358b96..fe505eaefb66ff 100644 --- a/packages/mui-icons-material/package.json +++ b/packages/mui-icons-material/package.json @@ -87,13 +87,11 @@ "exports": { ".": { "types": "./index.d.ts", - "node": "./index.js", "import": "./esm/index.js", "require": "./index.js" }, "./*": { "types": "./*.d.ts", - "node": "./*.js", "import": "./esm/*.js", "require": "./*.js" },