i18-fe-automator
Version:
前端代码提取中文并替换成$t函数
13 lines (12 loc) • 499 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.getAbsolutePath = void 0;
const path_1 = __importDefault(require("path"));
const slash_1 = __importDefault(require("slash"));
function getAbsolutePath(...paths) {
return (0, slash_1.default)(path_1.default.resolve(...paths));
}
exports.getAbsolutePath = getAbsolutePath;