This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Description
I use the React template and I would like to try to run my application in Visual Studio without HMR and without style-loader css to head injection. So I set the ASPNETCORE_ENVIRONMENT variable to Staging in the IIS Express and application debug configuration and set the isDevBuild const directly to false in the webpack.config.js. But when I launch the application from Visual Studio no dist/site.css file is generated. If I run the webpack command from command line, the site.css is generated correctly. The webpack.config.js is the same as in the React template except these lines:
//const isDevBuild = !(env && env.prod);
const isDevBuild = false;
Is there any problem with the ExtractTextPlugin when webpack build is run from Visual Studio?