How do I run gulp tasks in Visual Studio for Mac?

I have an ASP.NET Core web app with some Gulp tasks (minify and uglify) in gulpfile.js.

Now on Visual Studio 2017 for Windowns. I can tell when to run these tasks via the task explorer.

How can I do the same with Visual Studio for Mac?

+3


source to share


1 answer


Put this in your .csproj and it should work



<Target Name="MyPreCompileTarget" BeforeTargets="Build">
   <Exec Command="gulp clean" />
</Target>

      

0


source







All Articles