Skip to content

Fetch Not Running with CommonJS Files #64

@cjtheham

Description

@cjtheham

eleventy-fetch v4.0.1, eleventy v3.0.0

Files containing eleventy-fetch reliant functions in src/_data are not run when .cjs - switching to ESM solves the issue immediately. No debug messages or errors, seems to not even attempt to run rather than run and fail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions