mdziekon/OctoPrint-SpoolManager

Use minimized versions of 3rd party libs

Closed this issue · 0 comments

Some of the 3rd party libs, when imported, do not use minimized versions. This bloats up the final bundle's size & unnecessarily burdens the host's IO.

For minimization, recommended terser (v5.17.7) options:

{
  ecma: 2020,
  module: false,
  compress: {},
  mangle: {},
  output: {},
  parse: {},
  rename: {},
}