To rebuild the project for production environments, navigate to the MP2/ folder and execute the buildfrontend.cmd script.
Note: The path to build_styles.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" />