To rebuild the project for production environments, navigate to the MP2/ folder and execute the buildfrontend-styling.cmd script.
The path to buildfrontend-styling.cmd cannot contain any spaces.
If the compile and optimization step is completed successfully, the result should look similar to this:
One last step is access the web.config file and change the following variable.
Change <add key="UseDist" value="false" />
To <add key="UseDist" value="true" />