Skip to content

Commit

Permalink
chore: update tsup config
Browse files Browse the repository at this point in the history
  • Loading branch information
wangxingkang committed Apr 10, 2024
1 parent 2a23d45 commit 3ac50b9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"jsdom": "^24.0.0",
"lint-staged": "^15.2.2",
"release-it": "^16.1.3",
"tsup": "^7.2.0",
"tsup": "^8.0.2",
"typescript": "^5.4.4",
"vitest": "^1.4.0",
"vitest-mock-axios": "^0.1.0"
Expand Down
Empty file added src/utils/mergeConfig.ts
Empty file.
3 changes: 2 additions & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { defineConfig } from 'tsup';
import { defineConfig } from 'tsup'

export default defineConfig({
entry: ['src/index.ts'],
sourcemap: true,
globalName: 'request',
format: ['cjs', 'esm', 'iife'],
clean: true,
legacyOutput: true,
Expand Down

0 comments on commit 3ac50b9

Please sign in to comment.