From 1fef7be646a105f52147a10157ee735f39f35cb5 Mon Sep 17 00:00:00 2001 From: Hugo Dias Date: Wed, 8 Apr 2020 15:55:50 +0100 Subject: [PATCH] fix: add bundle size config --- .aegir.js | 3 +++ .travis.yml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .aegir.js diff --git a/.aegir.js b/.aegir.js new file mode 100644 index 0000000..8c9648c --- /dev/null +++ b/.aegir.js @@ -0,0 +1,3 @@ +module.exports = { + bundlesize: { maxSize: '12kB' } +} diff --git a/.travis.yml b/.travis.yml index e4af93b..fe286ad 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,7 @@ jobs: include: - stage: check script: - - npx aegir commitlint --travis + - npx aegir build --bundlesize - npx aegir dep-check - npm run lint