Skip to content

Commit 68a9090

Browse files
authored
feat(serve): build and serve with sourcemap for debugging (#65)
1 parent 6efc8e7 commit 68a9090

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/commands/serve/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export function serveCommand(program: Command) {
5656
const appFilePath = realpathSync(appPath)
5757
const buildIterator = buildAndImportApp(appFilePath, {
5858
external: ['@hono/node-server'],
59+
sourcemap: true,
5960
})
6061
app = (await buildIterator.next()).value
6162
}

0 commit comments

Comments
 (0)