File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737 " productivity" ,
3838 " arkstack"
3939 ],
40- "main" : " build/index.js" ,
4140 "private" : false ,
4241 "publishConfig" : {
4342 "access" : " public"
4443 },
4544 "bin" : {
46- "create-arkstack" : " bin/run.js"
45+ "create-arkstack" : " ./ bin/run.js"
4746 },
4847 "exports" : {
49- "." : " ./bin/run.js"
48+ "." : " ./bin/run.js" ,
49+ "./package.json" : " ./package.json"
5050 },
5151 "scripts" : {
5252 "test" : " vitest run" ,
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ export default defineConfig({
55 format : 'esm' ,
66 outDir : 'bin' ,
77 dts : false ,
8+ minify : true ,
9+ exports : true ,
810 sourcemap : false ,
911 deps : {
1012 neverBundle : [
@@ -14,5 +16,11 @@ export default defineConfig({
1416 'dotenv'
1517 ]
1618 } ,
17- clean : true
19+ clean : true ,
20+ outExtensions : ( e ) => {
21+ return ( {
22+ js : e . format === 'es' ? '.js' : '.cjs' ,
23+ dts : '.d.ts'
24+ } )
25+ } ,
1826} )
You can’t perform that action at this time.
0 commit comments