mdziekon / OctoPrint-SpoolManager

Plugin for managing Spools
21 stars 3 forks source link

Use minimized versions of 3rd party libs #12

Closed mdziekon closed 1 year ago

mdziekon commented 1 year ago

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: {},
}