@hadss/hmrouter-plugin
Version:
HMRouter Compiler Plugin
20 lines (19 loc) • 1.03 kB
TypeScript
export default class FilePathConstants {
static readonly OBFUSCATION_FILE_NAME = "hmrouter-obfuscation-rules.txt";
static readonly CONSUMER_FILE_NAME = "hmrouter-consumer-rules.txt";
static readonly FILE_SEPARATOR: "\\" | "/";
static readonly DELIMITER = "/";
static readonly TEMP_ROUTER_MAP_PATH = "../../intermediates/router_map";
static readonly RAWFILE_DIR = "src/main/resources/rawfile/hm_router_map.json";
static readonly ETS_SUFFIX = ".ets";
static readonly JSON_SUFFIX = ".json";
static readonly CONFIG_FILE_NAME = "hmrouter_config.json";
static readonly PARENT_DELIMITER = "../";
static readonly CURRENT_DELIMITER = "./";
static readonly OH_MODULE_PATH = "oh_modules";
static readonly OH_PACKAGE_FILE_NAME = "oh-package.json5";
static readonly LINE_BREAK = "\n";
static readonly DEFAULT_SCAN_DIR = "src/main/ets";
static readonly DEFAULT_ROUTER_MAP_DIR = "src/main/resources/base/profile";
static readonly DEFAULT_BUILD_DIR = "src/main/ets/generated";
}