mirror of
https://github.com/fantastic-admin/basic.git
synced 2026-10-07 13:17:52 +08:00
refactor: 给components和copyright子包增加unbuild
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import { defineBuildConfig } from 'unbuild'
|
||||
|
||||
export default defineBuildConfig({
|
||||
entries: ['./resolver'],
|
||||
declaration: false,
|
||||
clean: true,
|
||||
})
|
||||
@@ -4,7 +4,13 @@
|
||||
"version": "0.0.0",
|
||||
"exports": {
|
||||
".": "./index.ts",
|
||||
"./resolver": "./resolver.ts"
|
||||
"./resolver": {
|
||||
"types": "./resolver.ts",
|
||||
"import": "./dist/resolver.mjs"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"stub": "pnpm unbuild --stub"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@vueuse/components": "catalog:",
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
},
|
||||
"include": [
|
||||
"auto-imports.d.ts",
|
||||
"build.config.ts",
|
||||
"global.d.ts",
|
||||
"index.ts",
|
||||
"resolver.ts",
|
||||
|
||||
Reference in New Issue
Block a user