grasscutterTools/config/constant.ts
2022-05-02 18:38:10 +08:00

38 lines
739 B
TypeScript

/**
* @name Config
* @description 项目配置
*/
// 应用名
export const APP_TITLE = 'Fast-Vue3';
// 本地服务端口
export const VITE_PORT = 3000;
// prefix
export const API_PREFIX = '/api';
// serve
export const API_BASE_URL = '/api';
export const API_TARGET_URL = 'http://localhost:3000';
// mock
export const MOCK_API_BASE_URL = '/mock/api';
export const MOCK_API_TARGET_URL = 'http://localhost:3000';
// iconfontUrl
export const ICONFONTURL = '//at.alicdn.com/t/font_3004192_9jmc1z9neiw.js'; // 去色版
// 包依赖分析
export const ANALYSIS = true;
// 是否支持Md渲染
export const MARKDOWN = true;
// 代码压缩
export const COMPRESSION = true;
// 删除 console
export const VITE_DROP_CONSOLE = true;