- 在 BuildProfile.ets 文件中将 BUILD_MODE_NAME 从 'debug' 修改为 'release'- 在 BuildProfile.ets 文件中将 DEBUG 从 true 修改为 false - 更新 CHANGELOG.md 文件,添加新的更新内容 - 优化 README.md 文件中的代码示例和说明
17 行
522 B
Plaintext
17 行
522 B
Plaintext
/**
|
|
* Use these variables when you tailor your ArkTS code. They must be of the const type.
|
|
*/
|
|
export const HAR_VERSION = '1.0.5';
|
|
export const BUILD_MODE_NAME = 'release';
|
|
export const DEBUG = false;
|
|
export const TARGET_NAME = 'default';
|
|
|
|
/**
|
|
* BuildProfile Class is used only for compatibility purposes.
|
|
*/
|
|
export default class BuildProfile {
|
|
static readonly HAR_VERSION = HAR_VERSION;
|
|
static readonly BUILD_MODE_NAME = BUILD_MODE_NAME;
|
|
static readonly DEBUG = DEBUG;
|
|
static readonly TARGET_NAME = TARGET_NAME;
|
|
} |