bmc-i18n-extract-cli
Version:
这是一款能够自动将代码里的中文转成i18n国际化标记的命令行工具。当然,你也可以用它实现将中文语言包自动翻译成其他语言。适用于vue2、vue3和react
13 lines • 554 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;
//# sourceMappingURL=getAbsolutePath.js.map