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

Create and publish an unbundled version of jsPDF #1481

Closed
remcohaszing opened this issue Oct 16, 2017 · 1 comment
Closed

Create and publish an unbundled version of jsPDF #1481

remcohaszing opened this issue Oct 16, 2017 · 1 comment

Comments

@remcohaszing
Copy link

Thank you for submitting an issue to jsPDF. Please read carefully.

Are you using the latest version of jsPDF? Yes

Have you tried using jspdf.debug.js? No

Steps to reproduce npm install jspdf

What I saw One huge bundled file

What I expected Smaller JavaScript files

I use npm to install my dependencies and Webpack to bundle them. I'm using jsPDF in my code, but only a small subset of what's bundled with the dist files. Also I'm using some dependencies that match those of jsPDF, meaning they're likely to be bundled twice.

Also jsPDF has specified some dependencies that aren't actually dependencies from the dist bundles, because they're already in the jsPDF bundle.

Could you distribute jsPDF in a way that lets users pick only the parts that they actually require?

Or are you open to a pull request instead? In that case I'm willing to give it a try.

@agilgur5
Copy link

Seems related to #839

@Uzlopak Uzlopak closed this as completed Jun 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants