Skip to content

Commit

Permalink
Fix main path in package.json files
Browse files Browse the repository at this point in the history
Corrected the `main` path in multiple package.json files from "./dist/index.cjs" to "./dist/index.js". This change ensures that the correct entry point is used when these packages are imported, improving reliability across modules.
  • Loading branch information
justinbarry committed Dec 21, 2023
1 parent bda24ea commit 4f0fe61
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
8 changes: 8 additions & 0 deletions .changeset/long-icons-kiss.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@burnt-labs/abstraxion": patch
"@burnt-labs/constants": patch
"@burnt-labs/signers": patch
"@burnt-labs/ui": patch
---

Fix package.json `main` path
2 changes: 1 addition & 1 deletion packages/abstraxion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"sideEffects": [
"**/*.css"
],
"main": "./dist/index.cjs",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/constants/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@burnt-labs/constants",
"version": "0.0.1-alpha.1",
"module": "./dist/index.mjs",
"main": "./dist/index.cjs",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": "./dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/signers/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@burnt-labs/signers",
"version": "0.0.1-alpha.1",
"main": "./dist/index.cjs",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"sideEffects": [
"**/*.css"
],
"main": "./dist/index.cjs",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
Expand Down

0 comments on commit 4f0fe61

Please sign in to comment.