prestodb / presto-js-client

Monorepo for Presto JavaScript packages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reduce Bundle and Install Size of npm Package

aarong506 opened this issue · comments

The current npm package for @prestodb/presto-js-client includes unnecessary modules that increase the overall size of the package.

Details:

  • The inclusion of these extra modules could potentially slow down the installation process for users and consume extra storage.
  • Reducing the bundle size will make the package more efficient, especially for projects that are sensitive to package sizes.

Recommendation:

  • Investigate and identify the modules that are not essential for the package's functionality.
  • Update the build process to exclude these non-essential modules during the packaging phase.

Additional Resources: For a detailed breakdown of the package size, please refer to: pkg-size.dev/@prestodb%2Fpresto-js-client