Skip to content

Commit

Permalink
fix([DST-638]): update package.jsons to resolve warning (#4374)
Browse files Browse the repository at this point in the history
* fix: update package.jsons to resolve warning

* Create purple-seas-thank.md
  • Loading branch information
sarahgm authored Jan 9, 2025
1 parent ac6cfdc commit 3878b6b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
7 changes: 7 additions & 0 deletions .changeset/purple-seas-thank.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@marigold/theme-b2b": patch
"@marigold/theme-core": patch
"@marigold/theme-docs": patch
---

fix([DST-638]): update theme package.jsons to resolve the warning: The condition "types" here will never be used as it comes after both "import" and "require".
6 changes: 2 additions & 4 deletions themes/theme-b2b/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,12 @@
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
"require": "./dist/index.js"
},
"./*": {
"require": "./dist/*.js",
"import": "./dist/*.mjs",
"types": "./dist/*.d.ts"
"require": "./dist/*.js"
},
"./styles.css": "./dist/styles.css"
},
Expand Down
6 changes: 2 additions & 4 deletions themes/theme-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
"import": "./dist/index.mjs"
},
"./*": {
"require": "./dist/*.js",
"import": "./dist/*.mjs",
"types": "./dist/*.d.ts"
"import": "./dist/*.mjs"
},
"./styles.css": "./dist/styles.css"
},
Expand Down
6 changes: 2 additions & 4 deletions themes/theme-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
"import": "./dist/index.mjs"
},
"./*": {
"require": "./dist/*.js",
"import": "./dist/*.mjs",
"types": "./dist/*.d.ts"
"import": "./dist/*.mjs"
},
"./styles.css": "./dist/styles.css"
},
Expand Down

0 comments on commit 3878b6b

Please sign in to comment.