瀏覽代碼

feat: add package.json exports prop

Sv443 11 月之前
父節點
當前提交
6ad28b6fcb
共有 2 個文件被更改,包括 173 次插入586 次删除
  1. 172 586
      package-lock.json
  2. 1 0
      package.json

File diff suppressed because it is too large
+ 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 .",

Some files were not shown because too many files changed in this diff