浏览代码

feat: add package.json exports prop

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

文件差异内容过多而无法显示
+ 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 .",

部分文件因为文件数量过多而无法显示