bcgov / bcgov/entity

Remove unused css code

Open
#2,567 0 comments 0 reactions 0 assignees View on GitHub
techdebt
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

## What is the problem?
* The production build css files are of large sizes(over 700kb). as per the chrome's code coverage report, over 70% of the css code in the file are not used

## What is the impact?
* The large size files affects the initial loading of the app.

## Proposed solution
* Use webpack plugins like purgecss to remove unwanted css codes
* Implement lazy loading

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.