pathManager.js 535 B

1234567891011121314
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.getVendorPath = exports.getTemplatePath = void 0;
  4. const path = require("path");
  5. const root = path.join(__dirname, "..", "..");
  6. function getTemplatePath(file) {
  7. return path.join(root, "templates", file);
  8. }
  9. exports.getTemplatePath = getTemplatePath;
  10. function getVendorPath(file) {
  11. return file == null ? path.join(root, "vendor") : path.join(root, "vendor", file);
  12. }
  13. exports.getVendorPath = getVendorPath;
  14. //# sourceMappingURL=pathManager.js.map