mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-30 11:47:55 +01:00
chore: move to tsup
This commit is contained in:
18
tsup.config.ts
Normal file
18
tsup.config.ts
Normal 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
|
||||
Reference in New Issue
Block a user