fix: build bug

This commit is contained in:
xion 2024-11-02 22:31:53 +08:00
parent 0561fca3ce
commit 6c8fd040da
2 changed files with 3 additions and 5 deletions

View File

@ -1,8 +1,8 @@
{
"name": "@kevisual/container",
"version": "0.0.2",
"version": "0.0.3",
"description": "",
"main": "dist/index.js",
"main": "dist/container.js",
"publishConfig": {
"access": "public"
},
@ -24,8 +24,7 @@
},
"scripts": {
"build": "rimraf dist && rollup -c",
"start": "ts-node src/index.ts",
"build:app": "rsync dist/* ../deploy/dist",
"build:app": "npm run build && rsync dist/* ../deploy/dist",
"watch": "rollup -c -w"
},
"files": [

View File

@ -23,7 +23,6 @@ const config1 = {
noEmit: true,
declaration: false,
}), // 使用 @rollup/plugin-typescript 处理 TypeScript 文件
dts(), // 生成 .d.ts 类型声明文件
],
};
const config1Dts = {