Skip to content

Commit b10e7d2

Browse files
authored
chore: 빌드 수정 (#5)
1 parent 6089242 commit b10e7d2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/DotNetDevLottery/DotNetDevLottery.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@
1212
<None Remove="wwwroot\js\**" />
1313
</ItemGroup>
1414
<Target Name="NpmInstall" Inputs="package.json" Outputs="node_modules/.install-stamp">
15-
<PropertyGroup>
16-
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
17-
</PropertyGroup>
18-
<Exec Command="pnpm i" Condition="$(RestorePackagesWithLockFile) != 'true'" />
15+
<Exec Command="pnpm i" Condition="$(RestorePackagesWithLockFile) != 'true'" ConsoleToMsBuild="true" />
1916

2017
<!-- 'Incremental builds' 가 되도록 stamp 파일을 업데이트한다. -->
2118
<Touch Files="node_modules/.install-stamp" AlwaysCreate="true" />
19+
<PropertyGroup>
20+
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
21+
</PropertyGroup>
2222
</Target>
2323
<Target Name="PreBuild" DependsOnTargets="NpmInstall" BeforeTargets="BeforeBuild">
24-
<Message Text="TypeScript 컴파일 중 $(Configuration)" Importance="high" />
24+
<Message Text="TypeScript 컴파일 중" Importance="high" />
2525
<PropertyGroup>
2626
<NodeCommand Condition="$(Configuration) == 'Release'">pnpm build</NodeCommand>
2727
<NodeCommand Condition="$(Configuration) != 'Release'">pnpm build:dev</NodeCommand>

0 commit comments

Comments
 (0)