We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe7d7f6 commit 38e60b6Copy full SHA for 38e60b6
Angular2/dwCheckUi.csproj
@@ -31,8 +31,8 @@
31
<Target Name="PublishRunWebpack" AfterTargets="ComputeFilesToPublish">
32
<!-- As part of publishing, ensure the JS resources are freshly built in production mode -->
33
<Exec Command="npm install" />
34
- <Exec Command="node node_modules/webpack/bin/webpack.js --config webpack.config.vendor.js " />
35
- <Exec Command="node node_modules/webpack/bin/webpack.js" />
+ <Exec Command="node node_modules/webpack/bin/webpack.js --config webpack.config.vendor.js --env.prod" />
+ <Exec Command="node node_modules/webpack/bin/webpack.js --env.prod" />
36
<!-- Include the newly-built files in the publish output -->
37
<ItemGroup>
38
<DistFiles Include="wwwroot\dist\**; ClientApp\dist\**" />
0 commit comments