angular-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
2017-07-07 19:34:47 -04:00
limitUncompressed=(["inline"]=1600 ["main"]=600000 ["polyfills"]=35000)
2017-06-07 00:12:51 -04:00
declare -A limitGzip7
2017-07-06 09:11:53 -04:00
limitGzip7=(["inline"]=1000 ["main"]=140000 ["polyfills"]=12500)
2017-06-07 00:12:51 -04:00
declare -A limitGzip9
2017-07-06 09:11:53 -04:00
limitGzip9=(["inline"]=1000 ["main"]=140000 ["polyfills"]=12500)