Skip to content

Commit

Permalink
Disable running npm build on build
Browse files Browse the repository at this point in the history
  • Loading branch information
Rick Butterfield committed Aug 2, 2024
1 parent 7c1627b commit 0262399
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
5 changes: 5 additions & 0 deletions src/Umbraco.Cms.14.x/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,10 @@
"ImportOnFirstBoot": true,
"ImportAtStartup": "true"
}
},
"BlockPreview": {
"BlockGrid": {
"Enabled": true
}
}
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.VisualStudio.JavaScript.Sdk/1.0.784122">
<PropertyGroup>
<StartupCommand>npm run dev</StartupCommand>
<ShouldRunNpmBuildScript>true</ShouldRunNpmBuildScript>
<StaticWebAssetSourceId>Umbraco.Community.BlockPreview</StaticWebAssetSourceId>
<DebugAssetsDirectory>$(MSBuildProjectDirectory)\dist</DebugAssetsDirectory>
</PropertyGroup>
<Project Sdk="Microsoft.VisualStudio.JavaScript.Sdk/1.0.784122">
<PropertyGroup>
<ShouldRunNpmInstall>false</ShouldRunNpmInstall>
<ShouldRunNpmBuildScript>false</ShouldRunNpmBuildScript>
<StaticWebAssetSourceId>Umbraco.Community.BlockPreview</StaticWebAssetSourceId>
<DebugAssetsDirectory>$(MSBuildProjectDirectory)\dist</DebugAssetsDirectory>
</PropertyGroup>
</Project>

0 comments on commit 0262399

Please sign in to comment.