fix: build bug
This commit is contained in:
parent
0561fca3ce
commit
6c8fd040da
@ -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": [
|
||||
|
@ -23,7 +23,6 @@ const config1 = {
|
||||
noEmit: true,
|
||||
declaration: false,
|
||||
}), // 使用 @rollup/plugin-typescript 处理 TypeScript 文件
|
||||
dts(), // 生成 .d.ts 类型声明文件
|
||||
],
|
||||
};
|
||||
const config1Dts = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user