Skip to content

Excessive JS Bundle (faker-js) #1205

@europaplus

Description

@europaplus

Describe the bug

Description:
When using docusaurus-openapi-docs, the page loads unnecessary JavaScript code from the faker-js package (apparently pulled as a dependency from postman). This results in:

  1. Increased TotalJS size
  2. Longer page load times
  3. Unused code being executed

Reproduction Steps:

  1. Visit the official demo site of docusaurus-openapi-docs (https://docusaurus-openapi.tryingpan.dev/)
  2. Open browser DevTools → Network tab (or check Coverage)
  3. Reload the page and observe JS files loaded

Note the presence of faker-js-related code (e.g., search for faker in fetched JS)

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions