cocos-engine
cocos-engine copied to clipboard
Pre-compile macros in the editor version of the engine compilation
The current engine under the editor (bundled/index.js) should be editor-specific, right? That should have all the macros that can be cured pre-compiled into it, not dynamically judged at runtime. Pre-compiling would be a bigger boost to load performance and runtime performance of the whole scene.
The current engine under the editor (bundled/index.js) should be editor-specific, right?
not exactly, the current editor engine should also support all editor process, including assetdb, scene, main process and so on, also we need to support game view
I think most of the macros can be cured, and EDITOR is actually just as true in the current game view.
No plans for this right now.