mirror of https://github.com/status-im/reagent.git
Report prod bundle size on CI
This commit is contained in:
parent
ae532864ce
commit
a2f445eb99
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
"private": true,
|
"private": true,
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"gzip-size-cli": "^2.1.0",
|
||||||
"karma": "1.7.1",
|
"karma": "1.7.1",
|
||||||
"karma-chrome-launcher": "2.2.0",
|
"karma-chrome-launcher": "2.2.0",
|
||||||
"karma-cljs-test": "0.1.0",
|
"karma-cljs-test": "0.1.0",
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
set -ex
|
set -ex
|
||||||
lein do clean, doo chrome-headless prod-test once
|
lein do clean, doo chrome-headless prod-test once
|
||||||
test -f target/cljsbuild/prod-test/main.js
|
test -f target/cljsbuild/prod-test/main.js
|
||||||
|
../../node_modules/.bin/gzip-size target/cljsbuild/prod-test/main.js
|
||||||
|
|
Loading…
Reference in New Issue