Skip to content

Commit

Permalink
Removed bundle optimizations by default
Browse files Browse the repository at this point in the history
  • Loading branch information
alvesmiguel1 committed Jan 10, 2024
1 parent e32e766 commit ac82ef5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<PackageVersion Include="WebViewControl-WPF" Version="$(WebViewVersion)" />
<PackageVersion Include="WebViewControl-WPF-ARM64" Version="$(WebViewVersion)" />

<PackageVersion Include="ViewGenerator" Version="1.1.41" />
<PackageVersion Include="ViewGenerator" Version="1.1.42" />
<PackageVersion Include="ViewGeneratorCore" Version="1.0.229" />

<PackageVersion Include="NLog" Version="4.6.2" />
Expand Down
4 changes: 2 additions & 2 deletions Sample.Avalonia/Build/GenerateWebpackDevServerScript.targets
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
set VIEW_GENERATOR_PATH=$(PkgViewGenerator)
set VIEW_PACKER_PATH=$(PkgViewPacker)

node "%VIEW_PACKER_PATH%\tools\node_modules\webpack-dev-server\bin\webpack-dev-server.js" --config="%VIEW_GENERATOR_PATH%\tools\webpack\webpack_views.config.js" --mode=development --devtool=inline-source-map --env forHotReload=true --env useCache=false --env assemblyName="Sample.Avalonia" --env optimizeBundle=true --static-directory "$(ProjectDir)" --static-public-path "/Sample.Avalonia/"
node "%VIEW_PACKER_PATH%\tools\node_modules\webpack-dev-server\bin\webpack-dev-server.js" --config="%VIEW_GENERATOR_PATH%\tools\webpack\webpack_views.config.js" --mode=development --devtool=inline-source-map --env forHotReload=true --env useCache=false --env assemblyName="Sample.Avalonia" --env optimizeBundle=false --static-directory "$(ProjectDir)" --static-public-path "/Sample.Avalonia/"
</BatchScript>
</PropertyGroup>
<WriteLinesToFile File="$(ProjectDir)RunWebpackDevServer.bat" Overwrite="true" Lines="$(BatchScript)" />
Expand All @@ -21,7 +21,7 @@
VIEW_GENERATOR_PATH=$(PkgViewGenerator)
VIEW_PACKER_PATH=$(PkgViewPacker)

node "$VIEW_PACKER_PATH/tools/node_modules/webpack-dev-server/bin/webpack-dev-server.js" --config="$VIEW_GENERATOR_PATH/tools/webpack/webpack_views.config.js" --mode=development --devtool=inline-source-map --env forHotReload=true --env useCache=false --env assemblyName="Sample.Avalonia" --env optimizeBundle=true --static-directory "$(ProjectDir)" --static-public-path "/Sample.Avalonia/"
node "$VIEW_PACKER_PATH/tools/node_modules/webpack-dev-server/bin/webpack-dev-server.js" --config="$VIEW_GENERATOR_PATH/tools/webpack/webpack_views.config.js" --mode=development --devtool=inline-source-map --env forHotReload=true --env useCache=false --env assemblyName="Sample.Avalonia" --env optimizeBundle=false --static-directory "$(ProjectDir)" --static-public-path "/Sample.Avalonia/"
</ShellScript>
</PropertyGroup>
<WriteLinesToFile File="$(WebpackDevServerScriptPath)" Overwrite="true" Lines="$(ShellScript)" />
Expand Down
2 changes: 1 addition & 1 deletion ViewGenerator/ViewGenerator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<AssemblyTitle>ViewGenerator</AssemblyTitle>
<Product>ViewGenerator</Product>
<Description>Generates .NET View bindings from typescript</Description>
<Version>1.1.42</Version>
<Version>1.1.43</Version>
<PackageId>ViewGenerator</PackageId>
<PackageTags>Library</PackageTags>

Expand Down
2 changes: 1 addition & 1 deletion ViewGenerator/build/ViewGenerator.targets
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
</PropertyGroup>

<PropertyGroup Condition="'$(WP_OptimizeBundle)' == ''">
<WP_OptimizeBundle>true</WP_OptimizeBundle>
<WP_OptimizeBundle>false</WP_OptimizeBundle>
</PropertyGroup>

<PropertyGroup Condition="'$(WP_ConfigFileName)' == ''">
Expand Down

0 comments on commit ac82ef5

Please sign in to comment.