Skip to content

Commit 8aaa0b1

Browse files
authored
fix(BundleConfig): MainPage.cs should disable dev options for ReleaseBundle config (microsoft#753)
Fixes microsoft#692
1 parent 726d113 commit 8aaa0b1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

local-cli/generator-windows/templates/src/MainPage.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@ public override bool UseDeveloperSupport
4040
{
4141
get
4242
{
43+
#if !BUNDLE || DEBUG
4344
return true;
45+
#else
46+
return false;
47+
#endif
4448
}
4549
}
4650
}

0 commit comments

Comments
 (0)