Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Split package into multiple packages #273

Open
ulivz opened this issue Nov 19, 2018 · 2 comments
Open

Feature Request: Split package into multiple packages #273

ulivz opened this issue Nov 19, 2018 · 2 comments

Comments

@ulivz
Copy link
Contributor

ulivz commented Nov 19, 2018

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.

@joezimjs
Copy link

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.

@lindell
Copy link
Owner

lindell commented Nov 26, 2018

This is a planned feature of JsBarcode 4.0 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants