File tree Expand file tree Collapse file tree 3 files changed +402
-976
lines changed Expand file tree Collapse file tree 3 files changed +402
-976
lines changed Original file line number Diff line number Diff line change 8
8
"sideEffects" : false ,
9
9
"type" : " module" ,
10
10
"exports" : {
11
- "." : {
12
- "types" : " ./dist/index.d.ts" ,
13
- "import" : " ./dist/index.mjs"
14
- }
11
+ "." : " ./dist/index.js" ,
12
+ "./package.json" : " ./package.json"
15
13
},
16
- "main" : " ./dist/index.mjs " ,
17
- "module" : " ./dist/index.mjs " ,
14
+ "main" : " ./dist/index.js " ,
15
+ "module" : " ./dist/index.js " ,
18
16
"types" : " ./dist/index.d.ts" ,
19
17
"files" : [
20
18
" dist"
21
19
],
22
20
"scripts" : {
23
- "build" : " unbuild " ,
21
+ "build" : " tsdown " ,
24
22
"dev" : " astro dev --port 3000" ,
25
23
"format" : " prettier src --check" ,
26
24
"format:fix" : " prettier src --write" ,
42
40
"eslint" : " 9.32.0" ,
43
41
"eslint-config-unjs" : " 0.5.0" ,
44
42
"prettier" : " 3.6.2" ,
45
- "typescript " : " 5.8.3 " ,
46
- "unbuild " : " 3.6.0 "
43
+ "tsdown " : " 0.14.1 " ,
44
+ "typescript " : " 5.8.3 "
47
45
},
48
46
"changelog" : {
49
47
"excludeAuthors" : [
50
48
" "
51
49
]
52
50
},
53
- "packageManager" : " pnpm@10.13.1 "
51
+ "packageManager" : " pnpm@10.14.0 "
54
52
}
Original file line number Diff line number Diff line change
1
+ import { defineConfig } from "tsdown" ;
2
+
3
+ export default defineConfig ( {
4
+ entry : [ "./src/index.ts" ] ,
5
+ platform : "browser" ,
6
+ exports : true ,
7
+ } ) ;
You can’t perform that action at this time.
0 commit comments