Server/project/src/loaders
DrakiaXYZ 820a5caccb Bake build data directly into the executable (!297)
This is primarily to stop confusion when a user overwrites their `aki_data` folder with an old version, the data shown in logs/server console is now based on compile time data instead of runtime data.

- New build.json file added to the `obj/ide/` folder that gets populated with the build data on build
- Moved asset copying prior to packaging, so that `obj/ide/build.json` is available at package time
- Updated all references of core.commit, and core.buildTime to use globalThis
- Updated all references of core.akiVersion to use globalThis with a fallback if not found (When running in VSCode for example)

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/297
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-04-18 07:54:16 +00:00
..
BundleLoader.ts bundle-crc-cache (!274) 2024-03-29 18:43:36 +00:00
ModLoadOrder.ts Formatting/Linting Changes (!168) 2023-11-16 21:42:06 +00:00
ModTypeCheck.ts Formatting/Linting Changes (!168) 2023-11-16 21:42:06 +00:00
PostAkiModLoader.ts defered addBundles after PostDBModLoader is run 2024-03-24 17:52:38 +00:00
PostDBModLoader.ts defered addBundles after PostDBModLoader is run 2024-03-24 17:52:38 +00:00
PreAkiModLoader.ts Bake build data directly into the executable (!297) 2024-04-18 07:54:16 +00:00