sourceMap (boolean): Whether Metro should generate source maps.platform ('web' | 'android' | 'ios'): Which platform to bundle for if a list of platforms is provided.out (string): Path to the output bundle.minify (boolean): Whether Metro should minify the bundle.onProgress (Function): Called during the bundle, every time there's new information available about the module count/progress.onComplete (Function): Called when the bundling finishes.onBegin (Function): Called when the bundling starts.entry (string): Pointing to the entry file to bundle.dev (boolean): Create a development version of the build ( _ENV = 'development').The return value is a Promise that resolves to an object with two properties, code and map. Given a configuration and a set of options that you would typically pass to a server, plus a set of options specific to the bundle itself, a bundle will be built.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |