Skip to content

Commit 2fee564

Browse files
committed
add jsx import
1 parent 9f46666 commit 2fee564

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.ts

+1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ export async function build({
6969
const contents = await Bun.file(path).text();
7070
const tsloader = new Bun.Transpiler({
7171
loader: loader as JavaScriptLoader,
72+
autoImportJSX: true,
7273
});
7374
if (
7475
!tsloader.scan(contents).exports.includes("getServerSideProps")

0 commit comments

Comments
 (0)