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

Use individual component JS #1810

Merged
merged 1 commit into from
Jul 6, 2020
Merged

Conversation

andysellick
Copy link
Contributor

Update government-frontend to import the Javascript for only the components it is using, instead of all components, as documented here and here.

Filesize comparison

Before:

Screenshot 2020-07-03 at 08 59 09

JS: 473 KB

After:

Screenshot 2020-07-03 at 08 59 30

JS: 265 KB

Trello card: https://trello.com/c/GWttlBxs/228-upgrade-applications-to-use-individual-component-sass

@bevanloon bevanloon temporarily deployed to government-f-use-indivi-i6enoe July 3, 2020 08:01 Inactive
@andysellick andysellick merged commit 23819ad into master Jul 6, 2020
@andysellick andysellick deleted the use-individual-component-js branch July 6, 2020 11:41
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