mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-09 07:57:50 +00:00
* The TGS thing * Revert the 516 revert * Further segment the world/New() proc * Fixes an issue here
36 lines
1.0 KiB
Plaintext
36 lines
1.0 KiB
Plaintext
// If you use a file(...) object, instead of caching the asset it will be loaded from disk every time it's requested.
|
|
// This is useful for development, but not recommended for production.
|
|
// And if TGS is defined, we're being run in a production environment.
|
|
|
|
#ifdef TGS
|
|
/datum/tg_asset/simple/tgui
|
|
keep_local_name = FALSE
|
|
assets = list(
|
|
"tgui.bundle.js" = "tgui/public/tgui.bundle.js",
|
|
"tgui.bundle.css" = "tgui/public/tgui.bundle.css",
|
|
)
|
|
|
|
/datum/tg_asset/simple/tgui_panel
|
|
keep_local_name = FALSE
|
|
assets = list(
|
|
"tgui-panel.bundle.js" = "tgui/public/tgui-panel.bundle.js",
|
|
"tgui-panel.bundle.css" = "tgui/public/tgui-panel.bundle.css",
|
|
)
|
|
|
|
#else
|
|
/datum/tg_asset/simple/tgui
|
|
keep_local_name = TRUE
|
|
assets = list(
|
|
"tgui.bundle.js" = file("tgui/public/tgui.bundle.js"),
|
|
"tgui.bundle.css" = file("tgui/public/tgui.bundle.css"),
|
|
)
|
|
|
|
/datum/tg_asset/simple/tgui_panel
|
|
keep_local_name = TRUE
|
|
assets = list(
|
|
"tgui-panel.bundle.js" = file("tgui/public/tgui-panel.bundle.js"),
|
|
"tgui-panel.bundle.css" = file("tgui/public/tgui-panel.bundle.css"),
|
|
)
|
|
|
|
#endif
|