How do I pass npm parameters to dotnet publish?
问题 Long story short, private npm registry, corporate network, can't download from github. I need to pass --no-optional to the npm install that dotnet publish executes as part of Target "PublishRunWebpack: (TargetId:162)" Any ideas? MSDN documentation @ https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-publish?tabs=netcore21 is super unhelpful. Using dotnet core 2.1, if it matters :) Thanks! 回答1: I swear, StackOverflow's greatest power is that the odds of figuring out your problem