Skip to content

Commit

Permalink
Exported constants for non-Node.js environments (#340)
Browse files Browse the repository at this point in the history
* feat: exported constants

* Create warm-llamas-sniff.md
  • Loading branch information
alireza-sheikholmolouki authored Jan 9, 2025
1 parent 283159b commit c04e0f2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/warm-llamas-sniff.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@mirohq/cloud-data-import": patch
---

exported constansts to enable constants usage outside Node.js environments
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
"require": "./dist/index.js",
"import": "./dist/esm/index.js",
"types": "./dist/index.d.ts"
},
"./constants": {
"require": "./dist/constants.js",
"import": "./dist/esm/constants.js",
"types": "./dist/constants.d.ts"
}
},
"publishConfig": {
Expand Down Expand Up @@ -111,4 +116,4 @@
"npm run format"
]
}
}
}

0 comments on commit c04e0f2

Please sign in to comment.