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",
|
||||
"unpkg": "./dist/halo-components.iife.js",
|
||||
"jsdelivr": "./dist/halo-components.iife.js",
|
||||
"types": "./dist/typings/index.d.ts",
|
||||
"types": "./dist/index.d.ts",
|
||||
"scripts": {
|
||||
"dev": "vite build --watch",
|
||||
"build": "vite build",
|
||||
|
@ -60,6 +60,7 @@
|
|||
},
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"import": "./dist/halo-components.es.js",
|
||||
"require": "./dist/halo-components.umd.js"
|
||||
},
|
||||
|
|
|
@ -14,7 +14,7 @@ export default defineConfig({
|
|||
Icons(),
|
||||
Dts({
|
||||
entryRoot: "./src",
|
||||
outputDir: "./dist/typings",
|
||||
outputDir: "./dist",
|
||||
insertTypesEntry: true,
|
||||
}),
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue