Skip to content

Commit

Permalink
Run configuration production, remove deprecated --prod flag
Browse files Browse the repository at this point in the history
-
  • Loading branch information
sondreb committed Jul 6, 2022
1 parent 8c19289 commit 9c6541b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/Blockcore.Explorer/Blockcore.Explorer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<Target Name="PublishRunWebpack" AfterTargets="ComputeFilesToPublish">
<!-- As part of publishing, ensure the JS resources are freshly built in production mode -->
<Exec WorkingDirectory="$(SpaRoot)" Command="npm install" />
<Exec WorkingDirectory="$(SpaRoot)" Command="npm run build -- --prod" />
<Exec WorkingDirectory="$(SpaRoot)" Command="npm run build -- --configuration production" />
<!-- Include the newly-built files in the publish output -->
<ItemGroup>
<DistFiles Include="$(SpaRoot)dist\**; $(SpaRoot)dist-server\**" />
Expand Down
14 changes: 7 additions & 7 deletions src/Blockcore.Explorer/ClientApp/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9c6541b

Please sign in to comment.