Skip to content

Commit 9c6541b

Browse files
committed
Run configuration production, remove deprecated --prod flag
-
1 parent 8c19289 commit 9c6541b

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

src/Blockcore.Explorer/Blockcore.Explorer.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<Target Name="PublishRunWebpack" AfterTargets="ComputeFilesToPublish">
3434
<!-- As part of publishing, ensure the JS resources are freshly built in production mode -->
3535
<Exec WorkingDirectory="$(SpaRoot)" Command="npm install" />
36-
<Exec WorkingDirectory="$(SpaRoot)" Command="npm run build -- --prod" />
36+
<Exec WorkingDirectory="$(SpaRoot)" Command="npm run build -- --configuration production" />
3737
<!-- Include the newly-built files in the publish output -->
3838
<ItemGroup>
3939
<DistFiles Include="$(SpaRoot)dist\**; $(SpaRoot)dist-server\**" />

src/Blockcore.Explorer/ClientApp/package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)