mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-29 11:02:28 +08:00

this value cannot change during runtime, => there is no need to have these checks as dynamic function, instead just export the boolean value directly
4 lines
146 B
TypeScript
4 lines
146 B
TypeScript
import assetPath from "./asset_path.js";
|
|
import { isDev } from "./utils.js";
|
|
|
|
export default isDev ? assetPath + "/app" : assetPath + "/app-dist"; |