Closed Bug 1525239 Opened 5 years ago Closed 5 years ago

Use the browser version of js-yaml not the node version

Categories

(Tree Management :: Treeherder: Frontend, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: emorley)

References

Details

Attachments

(1 file)

Doing so shaves 156KB off the minified index entrypoint (job-view), which is >10%.

(The reason the browser version doesn't get used automatically is that the js-yaml package is missing the browser field from it's package.json - see: https://github.com/nodeca/js-yaml/pull/462)

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: