How to exclude a script from an asset bundle?
Cocos
NOVEMBER 14, 2023
I noticed that all scripts referenced by a script included in a bundle are also included in the bundle. I have a helper class assetManagerAsync in the “scripts” folder that implements some functions upon assetManager using Promise. This also applies to NPM packages, whose code is also included in the bundle.
Let's personalize your content