Skip to content

Commit

Permalink
fix: exports prop in package.json & fix module prop
Browse files Browse the repository at this point in the history
  • Loading branch information
Sv443 committed Sep 16, 2024
1 parent 1c5a042 commit a92000b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/fifty-foxes-punch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@sv443-network/userutils": patch
---

Added `exports` to package.json and corrected `module` property
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,14 @@
"version": "8.0.0",
"description": "Library with various utilities for userscripts - register listeners for when CSS selectors exist, intercept events, create persistent & synchronous data stores, modify the DOM more easily and more",
"main": "dist/index.js",
"module": "dist/index.mjs",
"module": "dist/index.js",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"browser": "./dist/index.global.js"
}
},
"types": "dist/lib/index.d.ts",
"type": "module",
"scripts": {
Expand Down

0 comments on commit a92000b

Please sign in to comment.