修复打包引用

This commit is contained in:
xief 2025-06-24 14:21:38 +08:00
parent 09e4cbbfe2
commit c43224ed4a
2 changed files with 8 additions and 3 deletions

View File

@ -1,11 +1,13 @@
{ {
"name": "cut-abstractions", "name": "cut-abstractions",
"version": "0.1.1", "version": "0.1.2",
"description": "", "description": "",
"main": "index.ts",
"files": ["dist/**/*"], "files": ["dist/**/*"],
"exports": { "exports": {
".": "./dist/**/*" ".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js"
}
}, },
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",

3
src/index.ts Normal file
View File

@ -0,0 +1,3 @@
export * from './base';
export * from './processors';
export * from './parsers';