-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add time options to set loading network speed, latency and mess…
…age (#384) * feat(loading-time-customization): rename check time property to totalTime * feat(loading-time-customization): add time plugin options to set network speed, latency and loading message for every check * docs(loading-time-customization) add doc for time plugin options * docs(loading-time-customization) format doc --------- Co-authored-by: Andrey Sitnik <[email protected]>
- Loading branch information
Showing
16 changed files
with
298 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"private": true, | ||
"name": "time-latency", | ||
"devDependencies": { | ||
"@size-limit/time": ">= 0.0.0", | ||
"size-limit": ">= 0.0.0" | ||
}, | ||
"size-limit": [ | ||
{ | ||
"path": "index.js", | ||
"time": { | ||
"latency": "200 ms" | ||
} | ||
}, | ||
{ | ||
"time": { | ||
"latency": "2.35 s" | ||
} | ||
} | ||
] | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"private": true, | ||
"name": "time-network-speed", | ||
"devDependencies": { | ||
"@size-limit/time": ">= 0.0.0", | ||
"size-limit": ">= 0.0.0" | ||
}, | ||
"size-limit": [ | ||
{ | ||
"path": "index.js", | ||
"time": { | ||
"networkSpeed": "20 B" | ||
} | ||
}, | ||
{ | ||
"time": { | ||
"networkSpeed": "20 kB" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.