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

Bundle a minified pdf-lib module to Marp CLI #374

Merged
merged 2 commits into from
Aug 12, 2021
Merged

Bundle a minified pdf-lib module to Marp CLI #374

merged 2 commits into from
Aug 12, 2021

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Aug 12, 2021

An external pdf-lib dependency have made failure of PDF conversion in the standalone binary. So I changed to use pre-bundled pdf-lib module instead of an external dependency.

Importing pdf-lib brings circular dependency warnings by rollup and potentially may not work, so we are using pdf-lib/dist/pdf-lib.min.js directly.

Fix #373.

@yhatt yhatt merged commit f062d46 into main Aug 12, 2021
@yhatt yhatt deleted the bundle-pdf-lib branch August 12, 2021 14:17
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.

Failed converting Markdown. (source is not defined)
1 participant