chore(core-preferences): migrate build to tsdown

This commit is contained in:
xingyu4j
2026-03-15 19:40:48 +08:00
parent f154d53be9
commit 0babdfbc44
2 changed files with 4 additions and 1 deletions

View File

@@ -11,7 +11,7 @@
"license": "MIT",
"type": "module",
"scripts": {
"build": "tsdown"
"build": "pnpm exec tsdown"
},
"files": [
"dist",

View File

@@ -5,4 +5,7 @@ export default defineConfig({
dts: true,
entry: ['src/index.ts'],
format: ['esm'],
outExtensions: () => ({
dts: '.d.ts',
}),
});