Skip to content

Commit 411cd1e

Browse files
authored
Update Umbraco.Forms.Integrations.Crm.Hubspot.csproj
1 parent b410fb9 commit 411cd1e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/Umbraco.Forms.Integrations.Crm.Hubspot/Umbraco.Forms.Integrations.Crm.Hubspot.csproj

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,13 @@
4646
<None Include="docs\readme.md" Pack="true" PackagePath="\" />
4747
</ItemGroup>
4848

49-
49+
<!-- Build client assets using NPM -->
50+
<Import Project="build\Microsoft.AspNetCore.ClientAssets.targets" />
51+
<PropertyGroup>
52+
<!-- Use this to (temporarily) disable building client assets, e.g. to start the project and generate updated API models -->
53+
<ShouldRunClientAssetsBuild>true</ShouldRunClientAssetsBuild>
54+
</PropertyGroup>
55+
<Target Name="ClientAssetsBuildOutputPath" BeforeTargets="ClientAssetsBuild">
56+
<WriteLinesToFile File="Client\config.outputPath.js" Lines="export const outputPath = '../$(IntermediateOutputPath.Replace('\', '/'))clientassets';" Overwrite="true" />
57+
</Target>
5058
</Project>

0 commit comments

Comments
 (0)