From e4df0edec98694b9a6faac66851faa9c22f35ee7 Mon Sep 17 00:00:00 2001 From: James McGinty Date: Fri, 9 Sep 2016 00:24:01 +1000 Subject: [PATCH] Update RunningOnDeviceWindows.md (#677) --- docs/RunningOnDeviceWindows.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/RunningOnDeviceWindows.md b/docs/RunningOnDeviceWindows.md index faf6733004..6dc53d944b 100644 --- a/docs/RunningOnDeviceWindows.md +++ b/docs/RunningOnDeviceWindows.md @@ -58,4 +58,13 @@ react-native bundle --platform windows --entry-file index.windows.js --assets-dest windows\myapp\ReactAssets ``` +To generate the release (minified) bundle, add the --dev=false : + +``` +react-native bundle --platform windows --entry-file index.windows.js + --bundle-output windows\myapp\ReactAssets\index.windows.bundle + --assets-dest windows\myapp\ReactAssets + --dev=false +``` + Be sure to update the paths to match the path to your ReactAssets folder.