From 43073f6b548b1f06ddb236bae05bc5c72f814b8d Mon Sep 17 00:00:00 2001 From: ReturnToZender Date: Thu, 28 Dec 2023 20:04:59 -0600 Subject: [PATCH] Fixes .jsx missing from TguiTarget in build.js (#80630) ## About The Pull Request .jsx files were recently switched to by TGstation, but because they were not in TGUITarget, when you make changes to a .jsx file, it doesn't recompile TGUI! Yippee! I SPENT HALF AN HOUR RECOMPILING MY TGUI AND HAVING IT JUST NOT SHOW UP. IT'S THE WORST. PLEASE FREE ME. This PR fixes that ## Why It's Good For The Game This has no game impact, it just fixes something that infuriates me. It will save coders from the pain I had to go through before I realized what was wrong. ## Changelog :cl: ReturnToZender fix: JSX files, when edited, cause TGUI to recompile on build /:cl: --- tools/build/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/build/build.js b/tools/build/build.js index ef798dd7ac2..3e50a1874e6 100644 --- a/tools/build/build.js +++ b/tools/build/build.js @@ -327,7 +327,7 @@ export const TguiTarget = new Juke.Target({ 'tgui/.yarn/install-target', 'tgui/webpack.config.js', 'tgui/**/package.json', - 'tgui/packages/**/*.+(js|cjs|ts|tsx|scss)', + 'tgui/packages/**/*.+(js|cjs|ts|tsx|jsx|scss)', ], outputs: [ 'tgui/public/tgui.bundle.css',