You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At present, there is no configuration or support for this function, and it will not be supported in the short term (sorry to be a little busy), but the implementation is not very complicated, welcome PR.
Some feasible technical implementation schemes:
Obtain the name of the annotation or directly use the name of the loading chunk
1.1 get the comment name: metor customSerializer graph reference:graph.dependencies.get('xxx').getSource()
1.2 or directly use the name of the chunk to load: Reference val.modules
hi , thanks for the greate lib,
please how to rename/special output dll/buz bundle name?, such as common.android.bundle, business-a.android.bundle @zq0904
Activity
zq0904 commentedon Nov 8, 2021
First of all, thank you for asking
At present, there is no configuration or support for this function, and it will not be supported in the short term (sorry to be a little busy), but the implementation is not very complicated, welcome PR.
Some feasible technical implementation schemes:
Obtain the name of the annotation or directly use the name of the loading chunk
1.1 get the comment name: metor customSerializer graph reference:graph.dependencies.get('xxx').getSource()
1.2 or directly use the name of the chunk to load: Reference val.modules
metro-code-split/src/config/dynamicImports.js
Line 117 in f5ac458
Export chunk: reference
metro-code-split/src/config/dynamicImports.js
Line 127 in f5ac458
Make sure chunk loads as scheduled:
3.1 the reference
metro-code-split/src/tpl/wrapAsyncRequire.ejs
Line 32 in f5ac458
3.2 or use asyncRequireTpl for customization
metro-code-split/src/index.js
Line 35 in f5ac458
krmao commentedon Sep 29, 2022
hi , thanks for the greate lib,
please how to rename/special output dll/buz bundle name?, such as common.android.bundle, business-a.android.bundle @zq0904