angular-docs-cn/aio/scripts/_payload-limits.sh

11 lines
311 B
Bash
Raw Normal View History

2017-06-15 13:29:24 -04:00
#!/bin/bash
set -u -e -o pipefail
2017-06-07 00:12:51 -04:00
declare -A limitUncompressed
limitUncompressed=(["inline"]=1600 ["main"]=525000 ["polyfills"]=35000)
2017-06-07 00:12:51 -04:00
declare -A limitGzip7
limitGzip7=(["inline"]=1000 ["main"]=127000 ["polyfills"]=12500)
2017-06-07 00:12:51 -04:00
declare -A limitGzip9
limitGzip9=(["inline"]=1000 ["main"]=127000 ["polyfills"]=12500)