8000 [Improvement] remove duplicate jszip code by boris1022chan · Pull Request #36 · meshesha/PPTXjs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Improvement] remove duplicate jszip code #36

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

boris1022chan
Copy link
@boris1022chan boris1022chan commented May 31, 2025

This PR

  1. remove duplicate JSzip import that exist in both pptxjs.js and jszip.min.js. Given that jszip is an external library, I opt to remove the code in pptxjs to allow easier jszip upgrade. Also result in small space saving:
    uncompressed 780.72 kB -> 777.39 kB
    minified (based on tool) 218.53 kB -> 217.08 kB
  2. run formatting with vscode using "format on save" option for formatting and trim line end whitespace

Test

open a pptx with index.html and confirm it is still working
Screenshot 2025-06-25 214423

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

Successfully merging this pull request may close these issues.

1 participant
0