修复发布包引用问题

This commit is contained in:
xief 2025-06-24 15:27:09 +08:00
parent d73c260fb8
commit 4473a9af41
2 changed files with 6 additions and 6 deletions

View File

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

View File

@ -1,6 +1,6 @@
{ {
"include": ["src"], "include": ["src"],
"exclude": ["samples","tests"], "exclude": ["node_modules","samples","tests"],
"compilerOptions": { "compilerOptions": {
/* Visit https://aka.ms/tsconfig to read more about this file */ /* Visit https://aka.ms/tsconfig to read more about this file */