Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/rs 794 - Lazy load chatbots, replace default export of lodash with named imports #681

Merged
merged 9 commits into from
Apr 30, 2020

Conversation

aChanEP
Copy link
Contributor

@aChanEP aChanEP commented Apr 30, 2020

Description:

-- Lazy loads the chatbots which should not be part of the initial download bundle.

-- also replaces default export of lodash with named imports to help with tree shaking in production builds.

https://elasticpath.atlassian.net/browse/RS-794

Upon testing this PR shaves off two seconds when production is run locally and results in a lighthouse score increase of 17 points.
Linting:

  • No linting errors

Tests:

  • E2E tests (npm test run with e2e)
  • Manual tests

Documentation:

  • Requires documentation updates

@aChanEP aChanEP changed the title [WIP] Feature/rs 794 Feature/rs 794 Apr 30, 2020
@shaunmaharaj shaunmaharaj changed the title Feature/rs 794 Feature/rs 794 - Lazy load chatbots, replace default export of lodash with named imports Apr 30, 2020
@aChanEP aChanEP merged commit ccd9245 into master Apr 30, 2020
@aChanEP aChanEP deleted the feature/RS-794 branch April 30, 2020 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants