Skip to content

Commit

Permalink
Fixes TGUI Dev & Minor juke issue (#959)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kapu1178 authored May 28, 2024
1 parent 6ee3b4e commit 3559fa2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions tgui/packages/tgui-dev-server/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export const resolveGlob = (...sections) => {
const unsafePaths = globPkg.sync(path.resolve(...sections), {
strict: false,
silent: true,
windowsPathsNoEscape: true,
});
const safePaths = [];
for (let path of unsafePaths) {
Expand Down
1 change: 1 addition & 0 deletions tgui/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ module.exports = (env = {}, argv) => {
filename: '[name].bundle.js',
chunkFilename: '[name].bundle.js',
chunkLoadTimeout: 15000,
publicPath: '/',
},
resolve: {
extensions: ['.tsx', '.ts', '.js'],
Expand Down
5 changes: 3 additions & 2 deletions tools/build/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export const DmTarget = new Juke.Target({
],
inputs: [
"_maps/map_files/generic/**",
"maps/**/*.dm",
"code/**",
"goon/**",
"html/**",
Expand Down Expand Up @@ -100,7 +101,7 @@ export const DmTestTarget = new Juke.Target({
"-trusted",
"-verbose",
"-params",
"log-directory=ci",
"log-directory=ci"
);
Juke.rm("*.test.*");
try {
Expand Down Expand Up @@ -134,7 +135,7 @@ export const AutowikiTarget = new Juke.Target({
"-trusted",
"-verbose",
"-params",
"log-directory=ci",
"log-directory=ci"
);
Juke.rm("*.test.*");
if (!fs.existsSync("data/autowiki_edits.txt")) {
Expand Down

0 comments on commit 3559fa2

Please sign in to comment.