vite: fix docker build (#2738)

## Description:

The sync-assets wasn't executing on docker-build. so instead just import
it from resources/ directory, vite logs a warning but I think that's
okay for now.

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I process any text displayed to the user through translateText()
and I've added it to the en.json file
- [x] I have added relevant tests to the test directory
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced

## Please put your Discord username so you can be contacted if a bug or
regression is found:

evan
This commit is contained in:
Evan
2025-12-29 18:37:51 -08:00
committed by GitHub
parent b569e682e8
commit 4f3d9df46a
12 changed files with 44 additions and 111 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
import countries from "resources/countries.json";
import quickChatData from "resources/QuickChat.json";
import { z } from "zod";
import countries from "../assets/data/countries.json" with { type: "json" };
import quickChatData from "../assets/data/QuickChat.json" with { type: "json" };
import {
ColorPaletteSchema,
PatternDataSchema,
+1 -1
View File
@@ -1,4 +1,4 @@
import version from "../../assets/data/version.txt?raw";
import version from "resources/version.txt?raw";
import { createGameRunner, GameRunner } from "../GameRunner";
import { FetchGameMapLoader } from "../game/FetchGameMapLoader";
import { ErrorUpdate, GameUpdateViewData } from "../game/GameUpdates";