What does the term "tree shaking" mean with regard to JavaScript performance?
only using code that is supported by the newest browsers, and serving the site without JavaScript to old browsers
removing unused code from the JavaScript files
allowing the browser to ignore code it believes will perform badly Source: MDN Docs
splitting code into various bundles so that decisions can be made on loading priority