diff --git a/packages/components/package.json b/packages/components/package.json index 4b0cbbc85b4..359ddd525c8 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -5,8 +5,8 @@ "module": "./lib-esm/index.js", "exports": { "./lib/*": { - "import": "./lib-esm/*", - "require": "./lib/*" + "import": "./lib-esm/*/index.js", + "require": "./lib/*/index.js" }, ".": { "import": "./lib-esm/index.js", diff --git a/packages/containers/package.json b/packages/containers/package.json index 507d84441e5..df3dd2e1c1e 100644 --- a/packages/containers/package.json +++ b/packages/containers/package.json @@ -6,8 +6,8 @@ "module": "./lib-esm/index.js", "exports": { "./lib/*": { - "import": "./lib-esm/*", - "require": "./lib/*" + "import": "./lib-esm/*/index.js", + "require": "./lib/*/index.js" }, ".": { "import": "./lib-esm/index.js", diff --git a/packages/design-system/package.json b/packages/design-system/package.json index e983c4fb530..3cbdd14621b 100644 --- a/packages/design-system/package.json +++ b/packages/design-system/package.json @@ -7,8 +7,8 @@ "module": "./lib-esm/index.js", "exports": { "./lib/*": { - "import": "./lib-esm/*", - "require": "./lib/*" + "import": "./lib-esm/*/index.js", + "require": "./lib/*/index.js" }, ".": { "import": "./lib-esm/index.js", diff --git a/packages/utils/package.json b/packages/utils/package.json index 3292a4db4d1..e6bd59fa008 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -7,8 +7,8 @@ "module": "./lib-esm/index.js", "exports": { "./lib/*": { - "import": "./lib-esm/*", - "require": "./lib/*" + "import": "./lib-esm/*/index.js", + "require": "./lib/*/index.js" }, ".": { "import": "./lib-esm/index.js",