H5-contact/node_modules/@dcloudio/uni-h5-vite/dist/utils/utils.js

20 lines
747 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.resolveDistDir = exports.resolveVueDistDir = exports.resolveFrameworkDistDir = void 0;
function resolveFrameworkDistDir() {
return resolveDistDir();
}
exports.resolveFrameworkDistDir = resolveFrameworkDistDir;
function resolveVueDistDir() {
return resolveDistDir();
}
exports.resolveVueDistDir = resolveVueDistDir;
function resolveDistDir() {
// // 重要目前只要manifest.json中配置了vapor:true就认为是vapor版本虽然还没有支持
// process.env.UNI_APP_X_VAPOR === 'true'
// ? 'dist-x-vapor'
// :
return process.env.UNI_APP_X === 'true' ? 'dist-x' : 'dist';
}
exports.resolveDistDir = resolveDistDir;