File tree 3 files changed +5
-28
lines changed
3 files changed +5
-28
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,4 @@ export default defineBuildConfig({
6
6
] ,
7
7
declaration : true ,
8
8
clean : true ,
9
- rollup : {
10
- emitCJS : true ,
11
- } ,
12
9
} )
Original file line number Diff line number Diff line change 1
1
// @ts -check
2
2
import antfu from '@antfu/eslint-config'
3
3
4
- export default antfu (
5
- {
6
- ignores : [
7
- // eslint ignore globs here
8
- ] ,
9
- } ,
10
- {
11
- rules : {
12
- // overrides
13
- } ,
14
- } ,
15
- )
4
+ export default antfu ( )
Original file line number Diff line number Diff line change 20
20
"sideEffects" : false ,
21
21
"exports" : {
22
22
"." : {
23
- "types" : " ./dist/index.d.ts" ,
24
- "import" : " ./dist/index.mjs" ,
25
- "require" : " ./dist/index.cjs"
23
+ "types" : " ./dist/index.d.mts" ,
24
+ "default" : " ./dist/index.mjs"
26
25
}
27
26
},
28
27
"main" : " ./dist/index.mjs" ,
29
28
"module" : " ./dist/index.mjs" ,
30
- "types" : " ./dist/index.d.ts" ,
31
- "typesVersions" : {
32
- "*" : {
33
- "*" : [
34
- " ./dist/*" ,
35
- " ./dist/index.d.ts"
36
- ]
37
- }
38
- },
29
+ "types" : " ./dist/index.d.mts" ,
39
30
"files" : [
40
31
" dist"
41
32
],
44
35
"dev" : " unbuild --stub" ,
45
36
"lint" : " eslint ." ,
46
37
"prepublishOnly" : " nr build" ,
47
- "release" : " bumpp && npm publish" ,
38
+ "release" : " bumpp && pnpm publish" ,
48
39
"start" : " esno src/index.ts" ,
49
40
"test" : " vitest" ,
50
41
"typecheck" : " tsc --noEmit" ,
You can’t perform that action at this time.
0 commit comments