I minified my JS file using grunt task runner.
I have a minified file with me but i dont know how to run my project using this minified JS file.
I first 'concat' and then 'uglify'. Now, i don't know how to run.
I am using require and backbone in my Javascript project.
Code: index.html
<!DOCTYPE HTML>
<html>
<head>
<title>Minify POC </title>
</head>
<body>
<script src='main'>
</script>
</body>
</html>
Minified JS file :
/*! Example 10-06-2014 */
var a=10,b=20,c=a+b;console.log("Addition of c ::"+c);
Original file
var a = 10;
var b = 20;
var c = a+ b;
console.log("Addition of c ::"+c);