remove obsolete workaround

This commit is contained in:
Vendicated 2024-07-19 21:34:39 +02:00
parent 7aeb884390
commit d48f52e8c3
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18
2 changed files with 2 additions and 10 deletions

View file

@ -200,7 +200,7 @@ export const fileUrlPlugin: Plugin = {
const encoding = base64 ? "base64" : "utf-8";
let content;
let content: string;
if (!minify) {
content = await readFile(path, encoding);
if (!noTrim) content = content.trimEnd();
@ -273,8 +273,7 @@ export const commonOpts = {
inject: ["./scripts/build/inject/react.mjs"],
jsxFactory: "VencordCreateElement",
jsxFragment: "VencordFragment",
// Work around https://github.com/evanw/esbuild/issues/2460
tsconfig: "./scripts/build/tsconfig.esbuild.json"
jsx: "transform"
} satisfies BuildOptions;

View file

@ -1,7 +0,0 @@
// Work around https://github.com/evanw/esbuild/issues/2460
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"jsx": "react"
}
}