File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ const require = topLevelCreateRequire(import.meta.url);
9292 // Bin builds:
9393 esbuild . build ( {
9494 entryPoints : [ "src/bin/main.ts" ] ,
95- outfile : "dist/bin/codesandbox.js " ,
95+ outfile : "dist/bin/codesandbox.cjs " ,
9696 bundle : true ,
9797 format : "cjs" ,
9898 platform : "node" ,
Original file line number Diff line number Diff line change 77 "repository" : " git+https://github.com/codesandbox/codesandbox-sdk.git" ,
88 "type" : " module" ,
99 "bin" : {
10- "csb" : " dist/bin/codesandbox.js "
10+ "csb" : " dist/bin/codesandbox.cjs "
1111 },
1212 "module" : " ./dist/esm/index.js" ,
1313 "main" : " ./dist/esm/index.js" ,
5050 },
5151 "types" : " ./dist/esm/index.d.ts" ,
5252 "scripts" : {
53- "build" : " npm run clean && npm run build:esbuild && npm run build:cjs:types && npm run build:esm:types && chmod +x dist/bin/codesandbox.js " ,
53+ "build" : " npm run clean && npm run build:esbuild && npm run build:cjs:types && npm run build:esm:types && chmod +x dist/bin/codesandbox.cjs " ,
5454 "build:cjs" : " tsc -p ./tsconfig.build-cjs.json" ,
5555 "build:esm" : " tsc -p ./tsconfig.build-esm.json" ,
5656 "build:esbuild" : " node esbuild.cjs" ,
You can’t perform that action at this time.
0 commit comments