Task Runner Configuration Missing in Visual Studio 2017
I found the NPM Task Runner extension in the Visual Studio Marketplace that fixed my problem. After installing it, the package.json file showed up in Task Runner Explorer.
Also, don't forget to set your system path to be the top priority for the External Web Tools by going into Options > External Web Tools and moving $(PATH) up the list. My npm scripts were failing until I did this as well.
If you got here because your webpack.config.js
is not showing up in the Task Runner Explorer, it's because webpack is not supported by default.
You must install Mads Kristensen's WebPack Task Runner from the Extensions and Updates window in Visual Studio.
Or install Web Essentials 2017 which includes the WebPack Task Runner, and a number of other awesome tools from Mads.
The Task Runner Explorer can be found via the menu View > Other Windows > Task Runner Explorer.
This is how you find it or you can use the search window in the top right and search for Task Runner and it will show up.