@moondreamsdev/dreamer-ui 1.3.9 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -143,7 +143,8 @@ async function main() {
143
143
  }
144
144
 
145
145
  // Run if called directly
146
- if (require.main === module) {
146
+ // ES module-compatible entrypoint check
147
+ if (process.argv[1] === new URL(import.meta.url).pathname) {
147
148
  main().catch(console.error);
148
149
  }
149
150
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moondreamsdev/dreamer-ui",
3
- "version": "1.3.9",
3
+ "version": "1.4.0",
4
4
  "type": "module",
5
5
  "description": "A collection of Tailwind CSS components for React",
6
6
  "main": "dist/index.js",