How to switch from development mode to production mode?


Find the script request at the end of the file, just before the closing </body> tag.

<script data-main="js/script.js" src="js/lib/require.js"></script>

And change the value of 'data-main' attribute to 'js/script.min.js', like in the example below.

<script data-main="js/script.min.js" src="js/lib/require.js"></script>

Last update:
2014-11-23 00:18
Author:
Vlad Sargu
Revision:
1.0
Average rating:0 (0 Votes)