grasscutterTools/config/constant.ts

38 lines
739 B
TypeScript
Raw Normal View History

2022-05-02 10:38:10 +00:00
/**
* @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;