UNPKG

@hadss/hmrouter-plugin

Version:

HMRouter Compiler Plugin

27 lines (26 loc) 1.29 kB
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const path_1 = __importDefault(require("path")); class FilePathConstants { } exports.default = FilePathConstants; FilePathConstants.OBFUSCATION_FILE_NAME = 'hmrouter-obfuscation-rules.txt'; FilePathConstants.CONSUMER_FILE_NAME = 'hmrouter-consumer-rules.txt'; FilePathConstants.FILE_SEPARATOR = path_1.default.sep; FilePathConstants.DELIMITER = '/'; FilePathConstants.TEMP_ROUTER_MAP_PATH = '../../intermediates/router_map'; FilePathConstants.RAWFILE_DIR = 'src/main/resources/rawfile/hm_router_map.json'; FilePathConstants.ETS_SUFFIX = '.ets'; FilePathConstants.JSON_SUFFIX = '.json'; FilePathConstants.CONFIG_FILE_NAME = 'hmrouter_config.json'; FilePathConstants.PARENT_DELIMITER = '../'; FilePathConstants.CURRENT_DELIMITER = './'; FilePathConstants.OH_MODULE_PATH = 'oh_modules'; FilePathConstants.OH_PACKAGE_FILE_NAME = 'oh-package.json5'; FilePathConstants.LINE_BREAK = '\n'; FilePathConstants.DEFAULT_SCAN_DIR = 'src/main/ets'; FilePathConstants.DEFAULT_ROUTER_MAP_DIR = 'src/main/resources/base/profile'; FilePathConstants.DEFAULT_BUILD_DIR = 'src/main/ets/generated';