@omnia/tooling-vue
Version:
Used to bundle and serve manifests web component that build on Vue framework.
23 lines (22 loc) • 962 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getImageOutputDirPath = exports.getBundleOutputDirPath = exports.getTsConfigPath = exports.getRootDirPath = void 0;
const tslib_1 = require("tslib");
const path_1 = tslib_1.__importDefault(require("path"));
const $ = tslib_1.__importStar(require("../../../variables"));
function getRootDirPath() {
return process.cwd();
}
exports.getRootDirPath = getRootDirPath;
function getTsConfigPath() {
return path_1.default.join(getRootDirPath(), 'tsconfig.json');
}
exports.getTsConfigPath = getTsConfigPath;
function getBundleOutputDirPath() {
return path_1.default.join(getRootDirPath(), 'wwwroot/omnia/dist/hmr/bundles');
}
exports.getBundleOutputDirPath = getBundleOutputDirPath;
function getImageOutputDirPath() {
return path_1.default.join(getRootDirPath(), $.tooling.composer.OmniaOutput.OutputImagePath);
}
exports.getImageOutputDirPath = getImageOutputDirPath;