forked from imbytecat/fullstack-starter
feat: 添加按路径导入支持及指纹工具导出
- 添加模块导出配置以支持按路径导入源码文件 - 导出指纹工具模块的全部功能。
This commit is contained in:
@@ -6,6 +6,10 @@
|
|||||||
"imports": {
|
"imports": {
|
||||||
"#*": "./src/*"
|
"#*": "./src/*"
|
||||||
},
|
},
|
||||||
|
"exports": {
|
||||||
|
".": "./src/index.ts",
|
||||||
|
"./*": "./src/*.ts"
|
||||||
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"ohash": "catalog:",
|
"ohash": "catalog:",
|
||||||
"systeminformation": "catalog:"
|
"systeminformation": "catalog:"
|
||||||
|
|||||||
1
packages/utils/src/index.ts
Normal file
1
packages/utils/src/index.ts
Normal file
@@ -0,0 +1 @@
|
|||||||
|
export * from './fingerprint'
|
||||||
Reference in New Issue
Block a user