Skip to content

Cleanup and document module execution order #1070

Description

@aklinker1

Feature Request

Currently, there's no documentation around the order modules' hooks are executed. Add that and add an E2E test to verify that modules are loaded in the expected order:

  1. First, NPM packages
  2. Second, "user" modules in the project's modules/ directory
  3. Finally, one-off hooks inside your wxt.config.ts

Also need to ensure user modules are executed alphabetically so they can be ordered with filenames.

Activity

  1. added this to the v1.0 milestone on Oct 16, 2024
  2. aklinker1 commented on Oct 19, 2024

    @aklinker1
    MemberAuthor

    Released in v0.19.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions