Skip to content

Commit f046b1b

Browse files
committed
Document why binary build uses production
1 parent 694dbe1 commit f046b1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/scripts/build-binary.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ async function main() {
161161
const buildArgs = [
162162
'build',
163163
'src/index.tsx',
164-
'--compile',
164+
'--compile', // Required so compiled binaries use the production JSX runtime (avoids jsxDEV crashes).
165165
'--production',
166166
`--target=${targetInfo.bunTarget}`,
167167
`--outfile=${outputFile}`,

0 commit comments

Comments
 (0)