← Back to context

Comment by aporetics

4 years ago

This used to be called munging

It’s called minification in the JavaScript ecosystem.

  • Minification may, or may not, involve munging, for example shortening `const foobar = 1;` into `var f = 1;`. This is not always a safe operation, and in some cases you want to disable munging when minifying your code so that you have meaningful component / function names in your stack traces even without sourcemaps.