utils.js 524 B

123456789101112
  1. "use strict";
  2. var __importDefault = (this && this.__importDefault) || function (mod) {
  3. return (mod && mod.__esModule) ? mod : { "default": mod };
  4. };
  5. Object.defineProperty(exports, "__esModule", { value: true });
  6. exports.nvueOutDir = exports.templateDir = void 0;
  7. const path_1 = __importDefault(require("path"));
  8. exports.templateDir = path_1.default.resolve(__dirname, '../lib/template/');
  9. function nvueOutDir() {
  10. return path_1.default.join(process.env.UNI_OUTPUT_DIR, '../.nvue');
  11. }
  12. exports.nvueOutDir = nvueOutDir;