File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 "type" : " node" ,
1515 "sourceMaps" : true ,
1616 "outFiles" : [
17- " ${workspaceFolder}/packages/cli/build/**/*.js "
17+ " ${workspaceFolder}/packages/cli/build/**/*.mjs "
1818 ],
1919 "resolveSourceMapLocations" : [
20- " ${workspaceFolder}/packages/cli/build/**/*.js " ,
20+ " ${workspaceFolder}/packages/cli/build/**/*.mjs " ,
2121 " !**/node_modules/**"
22- ]
22+ ],
23+ "remoteRoot" : " ${workspaceFolder}/packages/cli" ,
24+ "localRoot" : " ${workspaceFolder}/packages/cli" ,
25+ "port" : 9229
2326 }
2427 ]
2528}
Original file line number Diff line number Diff line change 3030 " build"
3131 ],
3232 "scripts" : {
33- "lingo.dev" : " node ./bin/cli.mjs" ,
33+ "lingo.dev" : " node --inspect=9229 ./bin/cli.mjs" ,
3434 "dev" : " tsup --watch" ,
3535 "build" : " tsc --noEmit && tsup" ,
3636 "test" : " vitest run" ,
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ export default defineConfig({
1414 cjsInterop : true ,
1515 splitting : true ,
1616 bundle : true ,
17+ sourcemap : true ,
1718 external : [ "readline/promises" ] ,
1819 noExternal : [ "@lingo.dev/sdk" , "@lingo.dev/spec" ] ,
1920 outExtension : ( ctx ) => ( {
You can’t perform that action at this time.
0 commit comments