Skip to content

Commit c8b84d5

Browse files
committed
Update npm package build
1 parent e6b954f commit c8b84d5

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

src/Umbraco.Forms.Integrations.Crm.Hubspot/Client/config.outputPath.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/Umbraco.Forms.Integrations.Crm.Hubspot/Client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"eslint-plugin-lit-a11y": "^4.1.1",
3333
"eslint-plugin-local-rules": "^2.0.1",
3434
"eslint-plugin-wc": "^2.0.4",
35-
"vite-tsconfig-paths": "^5.0.0",
35+
"vite-tsconfig-paths": "^5.1.4",
3636
"cross-env": "^7.0.3"
3737
}
3838
}

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

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

49-
<!--Build client assets using NPM -->
49+
<!-- Build client assets using NPM -->
5050
<Import Project="build\Microsoft.AspNetCore.ClientAssets.targets" />
5151
<PropertyGroup>
5252
<!-- Use this to (temporarily) disable building client assets, e.g. to start the project and generate updated API models -->
5353
<ShouldRunClientAssetsBuild>true</ShouldRunClientAssetsBuild>
5454
</PropertyGroup>
5555
<Target Name="ClientAssetsBuildOutputPath" BeforeTargets="ClientAssetsBuild">
56-
<WriteLinesToFile File="Client\config.outputPath.js" Lines="export const outputPath = '$(Configuration)' !== 'Release' ? '../wwwroot' : '../$(IntermediateOutputPath.Replace('\', '/'))clientassets';" Overwrite="true" />
56+
<WriteLinesToFile File="Client\config.outputPath.js" Lines="export const outputPath = '../$(IntermediateOutputPath.Replace('\', '/'))clientassets';" Overwrite="true" />
5757
</Target>
58-
<ItemGroup>
59-
<ClientAssetsInputs Remove="Client\config.outputPath.js" />
60-
</ItemGroup>
6158
</Project>

0 commit comments

Comments
 (0)