From b8cb63205c8c5367cd495c18666c0a9c909184f5 Mon Sep 17 00:00:00 2001 From: Jeremy Rose Date: Wed, 21 Feb 2024 15:39:06 -0800 Subject: [PATCH 1/2] [wasm] exclude MA mod from bundle --- build-scripts/prepare-web.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build-scripts/prepare-web.sh b/build-scripts/prepare-web.sh index caa1188082c66..99682e2383af7 100755 --- a/build-scripts/prepare-web.sh +++ b/build-scripts/prepare-web.sh @@ -21,6 +21,9 @@ for MOD_DIR in $DATA_DIR/mods/*/ ; do fi done +echo "Removing MA mod..." +rm -rf $DATA_DIR/mods/MA + $EMSDK/upstream/emscripten/tools/file_packager cataclysm-tiles.data --js-output=cataclysm-tiles.data.js --no-node --preload "$BUNDLE_DIR""@/" mkdir -p build/ From 62f6ad891aa83bc81e66b456dcd0db9f6ac18c00 Mon Sep 17 00:00:00 2001 From: Jeremy Rose Date: Wed, 21 Feb 2024 18:04:33 -0800 Subject: [PATCH 2/2] also remove Ultica_iso --- build-scripts/prepare-web.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build-scripts/prepare-web.sh b/build-scripts/prepare-web.sh index 99682e2383af7..cc48f05ad3713 100755 --- a/build-scripts/prepare-web.sh +++ b/build-scripts/prepare-web.sh @@ -23,6 +23,8 @@ done echo "Removing MA mod..." rm -rf $DATA_DIR/mods/MA +echo "Removing Ultica_iso tileset..." +rm -rf $BUNDLE_DIR/gfx/Ultica_iso $EMSDK/upstream/emscripten/tools/file_packager cataclysm-tiles.data --js-output=cataclysm-tiles.data.js --no-node --preload "$BUNDLE_DIR""@/"