in MVC Language by (909 points)
What is minification and how to implement minification in MVC?

1 Answer

0 votes
by (1.6k points)
Minification is a process to remove the blank space, comments etc.

The implementation of minification is as like as bundling. That means when we implement bundling minification is also implemented automatically. A sample JavaScript codes with comments:

// This is test comments

var x = 5;

x = x + 2;

x = x * 3;

After implementing minification the JavaScript code looks like:

var x=5;x=x+12x=x*3

Related questions

0 votes
asked Aug 18, 2019 in MVC Language by rahulsharma (909 points)