0

I would like to configure my project build so that it triggers a different gulp task on compile in project.json but I can only set the scripts property unconditionally as far as I can see and I have been hunting high and low online to no effect.

I want to run a different task for Debug and Release modes - can anyone help?

Keith Jackson
  • 3,078
  • 4
  • 38
  • 66

1 Answers1

0

Yes, you need to use script section in project.json file, but project.json does not support any conditions. This will be possible in future, when .csproj file will be used again instead of project.json.

Set
  • 47,577
  • 22
  • 132
  • 150