From b3814a1e5e8248556de00192c4359e14bffa5ece Mon Sep 17 00:00:00 2001 From: PP_Pro Date: Wed, 13 Sep 2023 15:46:23 +0800 Subject: [PATCH] optimize export --- cocos/core/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cocos/core/index.ts b/cocos/core/index.ts index 56ecdb1e53a..51394cc89f7 100644 --- a/cocos/core/index.ts +++ b/cocos/core/index.ts @@ -33,7 +33,7 @@ import './deprecated-3.7.0'; cclegacy.math = math; cclegacy.geometry = geometry; -export { math, memop, geometry, VERSION }; +export { math, memop, geometry, VERSION, cclegacy }; export * from './math'; export * from './memop'; @@ -47,7 +47,6 @@ export * from './curves'; export * from './settings'; export * from './system'; export * from './algorithm'; -export { cclegacy }; export * from './curves/bezier'; // TODO: should not include engine internal exports when module mechanism is implemented.