File tree Expand file tree Collapse file tree 3 files changed +5
-28
lines changed Expand file tree Collapse file tree 3 files changed +5
-28
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,4 @@ export default defineBuildConfig({
66 ] ,
77 declaration : true ,
88 clean : true ,
9- rollup : {
10- emitCJS : true ,
11- } ,
129} )
Original file line number Diff line number Diff line change 11// @ts -check
22import antfu from '@antfu/eslint-config'
33
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 2020 "sideEffects" : false ,
2121 "exports" : {
2222 "." : {
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"
2625 }
2726 },
2827 "main" : " ./dist/index.mjs" ,
2928 "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" ,
3930 "files" : [
4031 " dist"
4132 ],
4435 "dev" : " unbuild --stub" ,
4536 "lint" : " eslint ." ,
4637 "prepublishOnly" : " nr build" ,
47- "release" : " bumpp && npm publish" ,
38+ "release" : " bumpp && pnpm publish" ,
4839 "start" : " esno src/index.ts" ,
4940 "test" : " vitest" ,
5041 "typecheck" : " tsc --noEmit" ,
You can’t perform that action at this time.
0 commit comments