Skip to content

Commit ba84a00

Browse files
committed
Fix tests
1 parent 83ed943 commit ba84a00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/open-next/src/build.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,7 @@ function esbuildSync(esbuildOptions: ESBuildOptions) {
775775
js: [
776776
esbuildOptions.banner?.js || "",
777777
`globalThis.openNextDebug = ${process.env.OPEN_NEXT_DEBUG ?? false};`,
778-
`globalThis.openNextVersion = ${openNextVersion};`,
778+
`globalThis.openNextVersion = "${openNextVersion}";`,
779779
].join(""),
780780
},
781781
});
@@ -805,7 +805,7 @@ async function esbuildAsync(esbuildOptions: ESBuildOptions) {
805805
js: [
806806
esbuildOptions.banner?.js || "",
807807
`globalThis.openNextDebug = ${process.env.OPEN_NEXT_DEBUG ?? false};`,
808-
`globalThis.openNextVersion = ${openNextVersion};`,
808+
`globalThis.openNextVersion = "${openNextVersion}";`,
809809
].join(""),
810810
},
811811
});

0 commit comments

Comments
 (0)