Skip to content

Commit ff9c8b9

Browse files
committed
fix: update build script and modify PluginOptions interface
1 parent 3359eb3 commit ff9c8b9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"main": "dist/index.js",
77
"types": "dist/index.d.ts",
88
"scripts": {
9-
"build": "tsc",
9+
"build": "tsc && rsync -av --exclude 'node_modules' custom dist/",
1010
"prepare": "npm link adminforth"
1111
},
1212
"publishConfig": {

types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11

22
export interface PluginOptions {
3-
fieldName: string[];
3+
fieldName: string;
44
}

0 commit comments

Comments
 (0)