Skip to content

Load encryption code and its dependencies conditionally #885

@blikblum

Description

@blikblum

The encryption support soon landing in #820 increases pdfkit bundle size by 10%. Pdfkit is already quite big: 480Kb minified.

It's good to make the extra dependencies opt-in, so users that do not use this feature does not carries the extra code size.

This could be accomplished by using a plugin or middleware interface. Or even just as a configurable static property

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions