chore(core-preferences): migrate build to tsdown
parent
f154d53be9
commit
0babdfbc44
|
|
@ -11,7 +11,7 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsdown"
|
"build": "pnpm exec tsdown"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
|
|
|
||||||
|
|
@ -5,4 +5,7 @@ export default defineConfig({
|
||||||
dts: true,
|
dts: true,
|
||||||
entry: ['src/index.ts'],
|
entry: ['src/index.ts'],
|
||||||
format: ['esm'],
|
format: ['esm'],
|
||||||
|
outExtensions: () => ({
|
||||||
|
dts: '.d.ts',
|
||||||
|
}),
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue