We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0b6a25 commit a86d533Copy full SHA for a86d533
src/plugin/index.ts
@@ -59,7 +59,7 @@ export const createTransformer = (esbuildOptions: Omit<BuildOptions , "write" |
59
...args,
60
src:
61
"export default String.raw`" +
62
- escape(res).replace(/\$\{(.*?)\}/g, '\\$\\{$1\\}') +
+ escape(res).replace(/\$/g, '\\$') +
63
"`.replace(/\\\\([`${}])/g, '\\$1')",
64
});
65
}
0 commit comments