Skip to content

Ensure plugin types are exposed #31

@johannschopplich

Description

@johannschopplich
          This did not fix the problem. I tried updating the module to v1.0.1 and replacing `trackLocalhost` with `ignoredHostnames`, and all of the analytics e2e tests failed, see [this CI run](https://github.com/WordPress/openverse/actions/runs/10250122171/job/28355208871?pr=4716). When I added `trackLocalhost` back, they [passed](https://github.com/WordPress/openverse/actions/runs/10260245561/job/28386045331?pr=4716).

After updating, the plugin types also broke: I had to manually add the types that were previously created by Nuxt automatically. This might be related to the "The inferred type of 'default' cannot be named without a reference to ..." warnings in the release action run for v1.0.1: https://github.com/nuxt-modules/plausible/actions/runs/10229250370
Would using a function for module defaults fix it?

Originally posted by @obulat in #30 (comment)

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