This commit is contained in:
2026-04-09 18:57:44 +08:00
commit 89384d3545
79 changed files with 10181 additions and 0 deletions

12
tsup.config.ts Normal file
View File

@@ -0,0 +1,12 @@
import { defineConfig } from 'tsup'
export default defineConfig({
entry: ['src/index.ts'], // Entry point for your library/application
format: ['cjs', 'esm'], // Bundle in CommonJS and ES Module formats
outDir: 'dist',
dts: true, // Generate TypeScript declaration files
name: 'MaimaiAPI',
target: 'esnext',
clean: true, // Clean output directory before each build
minify: false // Set to true if you need minification
})