Browse Source

feat: add package.json exports prop

Sv443 11 tháng trước cách đây
mục cha
commit
6ad28b6fcb
2 tập tin đã thay đổi với 173 bổ sung586 xóa
  1. 172 586
      package-lock.json
  2. 1 0
      package.json

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 172 - 586
package-lock.json


+ 1 - 0
package.json

@@ -5,6 +5,7 @@
   "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",
+  "exports": "./lib/index.ts",
   "types": "dist/lib/index.d.ts",
   "scripts": {
     "lint": "tsc --noEmit && eslint .",

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác