Skip to content
This repository was archived by the owner on Oct 4, 2022. It is now read-only.
This repository was archived by the owner on Oct 4, 2022. It is now read-only.

Build size very large #949

Description

@swaroopsm

Explanation

Hello folks,
First off, kudos to such a powerful library for analyzing the readability and seo scores.

I am currently using the yoastseo package in a react app using the Worker API as described in here: https://github.com/Yoast/javascript/blob/develop/packages/yoastseo/README.md#usage
However, I see that my bundle build size (production) is about ~2.4MB which is very large considering my requirement.
On further observation of the bundle, I noticed that the bundle includes lots of language specific code (transitionWords etc.).

Would like to understand if the following is possible:

  • Anything I can do to reduce the bundle size?
  • I currently use only few languages (en, de, es, pt, fr, it). Is there a way I can specify the bundle to include only the code for the these languages via a config param.

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions