Skip to content

Commit 11e0ccc

Browse files
committed
build(package.json): 更新发布 npm 包的配置
1 parent 5acb421 commit 11e0ccc

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
"files": [
1818
"dist/*"
1919
],
20-
"main": "./dist/index.full.umd.js",
21-
"module": "./dist/index.full.mjs",
20+
"main": "./dist/index.umd.js",
21+
"module": "./dist/index.mjs",
2222
"exports": {
2323
".": {
24-
"import": "./dist/index.full.mjs",
25-
"require": "./dist/index.full.umd.js",
24+
"import": "./dist/index.mjs",
25+
"require": "./dist/index.umd.js",
2626
"types": "./dist/typings/index.d.ts"
2727
}
2828
},

public/typings/utils/util.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Plugin, DefineComponent } from '@vue/runtime-core';
1+
import type { Plugin, DefineComponent } from 'vue';
22

3-
export type SFCWithInstall<P> = Plugin & DefineComponent<P>
4-
export type FactoryWithInstall<T> = Plugin & T;
3+
export type SFCWithInstall<P> = Plugin & DefineComponent<P>;
4+
export type FactoryWithInstall<T> = Plugin & T;

0 commit comments

Comments
 (0)