File tree Expand file tree Collapse file tree
EstateManagementUI.BlazorServer Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 </ItemGroup >
1717
1818 <!-- Build Tailwind CSS before build -->
19+ <Target Name =" NpmInstall" BeforeTargets =" BuildTailwindCSS" Condition =" !Exists('node_modules')" >
20+ <Message Importance =" high" Text =" Installing npm packages..." />
21+ <Exec Command =" npm install" WorkingDirectory =" $(MSBuildProjectDirectory)" ContinueOnError =" false" />
22+ </Target >
23+
1924 <Target Name =" BuildTailwindCSS" BeforeTargets =" BeforeBuild" >
20- <Exec Command = " npm install " WorkingDirectory = " $(MSBuildProjectDirectory) " />
21- <Exec Command =" npm run css:build" WorkingDirectory =" $(MSBuildProjectDirectory)" />
25+ <Message Importance = " high " Text = " Building Tailwind CSS... " />
26+ <Exec Command =" npm run css:build" WorkingDirectory =" $(MSBuildProjectDirectory)" ContinueOnError = " false " IgnoreExitCode = " false " />
2227 </Target >
2328
2429</Project >
You can’t perform that action at this time.
0 commit comments