Skip to content

Commit

Permalink
Update API
Browse files Browse the repository at this point in the history
  • Loading branch information
dumganhar committed Nov 20, 2024
1 parent 8baa5c6 commit fdcf8f9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .api/public.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ declare module "@cocos/ccbuild" {
* @note 此功能要求项目中不能有同名的 enum,如果需要同名,可以定义枚举的时候用不同名字,然后在导出的时候 export as 跟其它模块同名的 enum。
*/
inlineEnum?: boolean;
/**
* 是否需要压缩 $ 后缀的属性,只在 release 模式下生效
* @default true
*/
mangleProperties?: boolean;
/**
* 是否生成 source map。
* 若为 `inline` 则生成内联的 source map。
Expand Down

0 comments on commit fdcf8f9

Please sign in to comment.