Skip to content

Commit 24607ed

Browse files
authored
fix(builtin): entry point of a .tsx file is .js (#1732)
Fixes #1730
1 parent 26f6698 commit 24607ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/node/node.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def _write_loader_script(ctx):
118118
if entry_point_path.endswith(".ts"):
119119
entry_point_path = entry_point_path[:-3] + ".js"
120120
elif entry_point_path.endswith(".tsx"):
121-
entry_point_path = entry_point_path[:-4] + ".jsx"
121+
entry_point_path = entry_point_path[:-4] + ".js"
122122

123123
ctx.actions.expand_template(
124124
template = ctx.file._loader_template,

0 commit comments

Comments
 (0)