JsBarcode icon indicating copy to clipboard operation
JsBarcode copied to clipboard

Feature Request: Split package into multiple packages

Open ulivz opened this issue 7 years ago • 2 comments
trafficstars

Many users may only need one of svg, canvas and img renderers, in order to improve performance, is it possible to split this package into:

  • core
  • svg-renderer
  • img-renderer
  • canvas-renderer

Or:

  • core
  • server-renderer
  • client-renderer

So users can choose according to their needs.

Thanks for the great lib.

ulivz avatar Nov 19 '18 07:11 ulivz

I was also thinking it'd be nice to be able to split it based in the barcode types as well. Tree Shaking doesn't seem to be removing the excess parts.

joezimjs avatar Nov 23 '18 22:11 joezimjs

This is a planned feature of JsBarcode 4.0 🙂

lindell avatar Nov 26 '18 19:11 lindell