mirror of https://github.com/halo-dev/halo-admin
chore(packages/components): change d.ts dist folder
Signed-off-by: Ryan Wang <i@ryanc.cc>pull/582/head
parent
7df63685cf
commit
b142b3ca80
|
@ -9,7 +9,7 @@
|
||||||
"module": "./dist/halo-components.es.js",
|
"module": "./dist/halo-components.es.js",
|
||||||
"unpkg": "./dist/halo-components.iife.js",
|
"unpkg": "./dist/halo-components.iife.js",
|
||||||
"jsdelivr": "./dist/halo-components.iife.js",
|
"jsdelivr": "./dist/halo-components.iife.js",
|
||||||
"types": "./dist/typings/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite build --watch",
|
"dev": "vite build --watch",
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
|
@ -60,6 +60,7 @@
|
||||||
},
|
},
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
|
"types": "./dist/index.d.ts",
|
||||||
"import": "./dist/halo-components.es.js",
|
"import": "./dist/halo-components.es.js",
|
||||||
"require": "./dist/halo-components.umd.js"
|
"require": "./dist/halo-components.umd.js"
|
||||||
},
|
},
|
||||||
|
|
|
@ -14,7 +14,7 @@ export default defineConfig({
|
||||||
Icons(),
|
Icons(),
|
||||||
Dts({
|
Dts({
|
||||||
entryRoot: "./src",
|
entryRoot: "./src",
|
||||||
outputDir: "./dist/typings",
|
outputDir: "./dist",
|
||||||
insertTypesEntry: true,
|
insertTypesEntry: true,
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue