Skip to content

Commit 8220c8b

Browse files
committed
fix publish paths
1 parent 9c362e3 commit 8220c8b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

MyApp.Client/angular.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"build": {
1414
"builder": "@angular-devkit/build-angular:application",
1515
"options": {
16-
"outputPath": "dist/my-app.client",
16+
"outputPath": "dist",
1717
"index": "src/index.html",
1818
"browser": "src/main.ts",
1919
"polyfills": [

MyApp/MyApp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
<Exec Command="npm run build" WorkingDirectory="../MyApp.Client" />
5555
<RemoveDir Directories="$(PublishDir)wwwroot" />
5656
<ItemGroup>
57-
<CopyDist Include="../MyApp.Client/dist/**/*.*" />
57+
<CopyDist Include="../MyApp.Client/dist/browser/**/*.*" />
5858
</ItemGroup>
5959
<Copy SourceFiles="@(CopyDist)" DestinationFiles="@(CopyDist->'$(PublishDir)wwwroot\%(RecursiveDir)%(Filename)%(Extension)')" />
6060
</Target>

0 commit comments

Comments
 (0)