Skip to content

Commit

Permalink
fix: Fix exports to allow deep imports (#5352)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhuchet authored Jun 20, 2024
1 parent d7bbe5c commit 94aad7d
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 8 deletions.
8 changes: 8 additions & 0 deletions .changeset/green-geckos-sip.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@talend/design-system': patch
'@talend/react-components': patch
'@talend/react-containers': patch
'@talend/utils': patch
---

fix: Fix exports to allow deep imports
4 changes: 2 additions & 2 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"module": "./lib-esm/index.js",
"exports": {
"./lib/*": {
"import": "./lib-esm/*/index.js",
"require": "./lib/*/index.js"
"import": "./lib-esm/*",
"require": "./lib/*"
},
".": {
"import": "./lib-esm/index.js",
Expand Down
4 changes: 2 additions & 2 deletions packages/containers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"module": "./lib-esm/index.js",
"exports": {
"./lib/*": {
"import": "./lib-esm/*/index.js",
"require": "./lib/*/index.js"
"import": "./lib-esm/*",
"require": "./lib/*"
},
".": {
"import": "./lib-esm/index.js",
Expand Down
4 changes: 2 additions & 2 deletions packages/design-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"module": "./lib-esm/index.js",
"exports": {
"./lib/*": {
"import": "./lib-esm/*/index.js",
"require": "./lib/*/index.js"
"import": "./lib-esm/*",
"require": "./lib/*"
},
".": {
"import": "./lib-esm/index.js",
Expand Down
4 changes: 2 additions & 2 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"module": "./lib-esm/index.js",
"exports": {
"./lib/*": {
"import": "./lib-esm/*/index.js",
"require": "./lib/*/index.js"
"import": "./lib-esm/*",
"require": "./lib/*"
},
".": {
"import": "./lib-esm/index.js",
Expand Down

0 comments on commit 94aad7d

Please sign in to comment.