dequelabs / dequelabs/axe-core

Consider having a size budget for axe-core

Open
#1,930 4 comments 2 reactions 0 assignees View on GitHub
feat performance
Dominant language
JavaScript
Stars
7.5k
Forks
933
Avg merge
2d 23h
Merged PRs (30d)
17

Description

From the discussion on https://github.com/GoogleChrome/lighthouse/pull/10056, axe 3.4.0 added 60KB minified to our codebase, mostly from the addition of [core-js Unit32Array polyfills](https://github.com/GoogleChrome/lighthouse/pull/10056#issuecomment-562360821) needed for the ligature icon detection. This pushed lighthouse over their size budget, causing them to fail their build.

For 4.0.0 we should consider introducing a size budget ourselves so we don't continue to increase in size (as we have done as shown by @patrickhulce chart)

![image](https://user-images.githubusercontent.com/2433219/70284829-af275800-1782-11ea-8005-906d448bdc8b.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.