Closed alirezarayej closed 2 years ago
Is it possible to provide an optional parameter to adapt to different scenarios?
if minify set true react change class's names to shorter name. Some package like typeorm (in migrations) need Specific class name to work. so we need set minify false to react don't change variables names.
--extraBundlerOptions=--minify false
; If hermes is enabled, use:--extraHermesFlags
; Both parameters can be viewed with the latest version code-push release-react --help
.yes solved. Thank you!
if minify set true react change class's names to shorter name. Some package like typeorm (in migrations) need Specific class name to work. so we need set minify false to react don't change variables names.