Skip to content

Decrease NPM package size

Bartek Wrona requested to merge tm-decrease-package-size into develop
  • protobuf code generation has been slightly changed to eliminate not needed functions
  • WASM code is generated once for both targets: web and NodeJS
  • terser tool is used to transform generated JS code into more compacted form
  • TS code is unified for both targets (web/NodeJS)
  • Documentation file is not added anymore into produced package. Instead URL pointing committed version will be put into Readme.md file.

At the moment size changed from 5457481 B to 2645883 B

Edited by Bartek Wrona

Merge request reports

Loading