Skip to content

perf: @happyvertical/files barrel export pulls in 23.8MB googleapis via GoogleDriveProvider #889

@willgriffin

Description

@willgriffin

The @happyvertical/files package barrel-exports GoogleDriveProvider which statically imports the full googleapis npm package (~23.8 MB). When consumers bundle @happyvertical/files for SSR, the entire Google APIs library gets pulled in — even if Google Drive is never used. This caused an OOM crash (exit 137) during template-small-town builds. Suggested fixes: lazy import, separate entry point, or use the lighter @googleapis/drive package.

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