chore: move to tsup

This commit is contained in:
Benjamin Canac
2021-11-24 16:07:18 +01:00
parent 7a31f1be4f
commit 65a6aa5fda
35 changed files with 132 additions and 16 deletions

18
tsup.config.ts Normal file
View File

@@ -0,0 +1,18 @@
import { Options } from 'tsup'
const config: Options = {
splitting: false,
format: ['esm'],
entryPoints: [
'src/index.ts'
],
external: [
'@nuxt/kit',
'@unocss/preset-uno'
],
target: 'node14',
clean: true,
dts: true
}
export default config