File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 1515 "lint" : " biome check --write --error-on-warnings" ,
1616 "test" : " pnpm lint && vitest run --coverage" ,
1717 "test:ci" : " biome check --error-on-warnings && vitest run --coverage" ,
18- "build" : " rimraf ./dist && tsup src/index.ts --format esm --dts " ,
18+ "build" : " tsup" ,
1919 "clean" : " rimraf ./dist pnpm-lock.yaml node_modules coverage" ,
20- "prepare" : " rimraf ./dist && pnpm build"
20+ "prepare" : " pnpm build"
2121 },
2222 "keywords" : [
2323 " hyphen" ,
Original file line number Diff line number Diff line change 1+ import { defineConfig } from 'tsup' ;
2+
3+ export default defineConfig ( {
4+ entry : [ 'src/index.ts' ] ,
5+ format : [ 'esm' ] ,
6+ dts : true ,
7+ clean : true ,
8+ esbuildOptions ( options ) {
9+ options . jsx = 'automatic' ;
10+ } ,
11+ } ) ;
You can’t perform that action at this time.
0 commit comments