Skip to content

Commit fcaaee3

Browse files
committed
fix: react compiler source mapping url
1 parent 6cf6a2a commit fcaaee3

File tree

1 file changed

+1
-1
lines changed
  • packages/plugin-react-compiler/src

1 file changed

+1
-1
lines changed

packages/plugin-react-compiler/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export function reactCompiler(options: ReactCompilerPluginOptions = {}): Bun.Bun
5151
const { code, map } = result;
5252

5353
return {
54-
contents: `$${code}\n//# sourceMappingURL=$${toUrl(map)}`,
54+
contents: `${code}\n//# sourceMappingURL=${toUrl(map)}`,
5555
loader: "tsx",
5656
};
5757
});

0 commit comments

Comments
 (0)