Skip to content

Commit

Permalink
add size-limit to package
Browse files Browse the repository at this point in the history
  • Loading branch information
jbadan committed Jan 16, 2019
1 parent 87df4c8 commit be37849
Show file tree
Hide file tree
Showing 4 changed files with 803 additions and 15 deletions.
8 changes: 8 additions & 0 deletions .size-limit
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[
{
name: "Fundamental-React Size",
webpack: true,
path: "dist/index.js",
limit: "30 KB"
}
]
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ script:
jobs:
include:
- stage: "Fundamental-react: Test & Lint"
script: npm run lint && npm run test:coveralls
script: npm run lint && npm run test:coveralls && npm run size
- stage: Deploy
if: branch = master AND type != pull_request
before_deploy:
Expand Down
Loading

0 comments on commit be37849

Please sign in to comment.