init upload module

This commit is contained in:
2025-03-31 21:17:41 +08:00
parent 64ca348277
commit a7faaca418
16 changed files with 633 additions and 0 deletions

16
tsup.config.ts Normal file
View File

@@ -0,0 +1,16 @@
import { defineConfig } from 'tsup';
export default defineConfig({
entry: ['src/query-upload.ts'],
splitting: false,
sourcemap: false,
clean: true,
format: 'esm',
dts: true,
outDir: 'dist',
tsconfig: 'tsconfig.json',
define: {
IS_BROWSER: 'false',
},
});