Skip to content

Site without Feeas bundels feeas denpenency and an entire react dist #2138

@FransEngstrom

Description

@FransEngstrom

Describe the Bug

Our site does not use Feeas at all. However if I look at either the code coverage reported in chrome or use a tool like source-map-explorer I can see that the bundle incluces Feeas depencencies and a 76kb react dist used for Feeas that only takes up space.

Below is a printscreen from the 'show coverage' tool in chrome.
Image

To Reproduce

Open site in chrome, open 'show coverge' tool and follow the instructions. The fees will be part of the bundle. It's also possible to use a bundle analyser to see it.

Expected Behavior

If unused, feeas and the react depencency should not be bundled.

Possible Fix

No response

Provide environment information

  • Sitecore Version: 22.5.5
  • JSS Version: 22.5.5
  • Browser Name and version: any browser
  • Operating System and version (desktop or mobile): any

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogIssue/PR/discussion is reviewed and added to backlog for the further work🐞 bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions