Files
cocos4/scripts/build-engine/src/module-name.ts
T
Leslie Leigh (李的序) 419f8c0286 @cocos/build-engine for 1.2 (#6735)
* Build engine V3.0.0

Ammo.js wasm support; Multi-module engine support; Remove physics macros
Lock

* 3.0.1
2020-08-06 10:26:52 +08:00

10 lines
212 B
TypeScript

/**
* 获取功能入口对应的模块名。
* @param entry 功能入口名。
* @param engine 引擎路径。
*/
export function getModuleName (entry: string, engine: string) {
return `cc.${entry}`;
}