diff options
| author | XhmikosR <[email protected]> | 2017-10-02 22:03:12 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-10-02 22:03:12 +0300 |
| commit | 49ce5f3a645402c18d75d7d3e4769cde3a9deb7b (patch) | |
| tree | 9b10ef2d7e1673017d1ff3f05adfd9ac3662a46e /package.json | |
| parent | 2891dc143dd8d020479a38e8adfeb85a42fcfd85 (diff) | |
| download | bootstrap-49ce5f3a645402c18d75d7d3e4769cde3a9deb7b.tar.xz bootstrap-49ce5f3a645402c18d75d7d3e4769cde3a9deb7b.zip | |
Tweak bundlesize's targets. (#24203)
Separate CSS targets and tighten a couple others targets.
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/package.json b/package.json index de3c35934..48bbb7668 100644 --- a/package.json +++ b/package.json @@ -135,12 +135,32 @@ ], "bundlesize": [ { - "path": "./dist/css/bootstrap*.css", + "path": "./dist/css/bootstrap-grid.css", + "maxSize": "5 kB" + }, + { + "path": "./dist/css/bootstrap-grid.min.css", + "maxSize": "5 kB" + }, + { + "path": "./dist/css/bootstrap-reboot.css", + "maxSize": "5 kB" + }, + { + "path": "./dist/css/bootstrap-reboot.min.css", + "maxSize": "5 kB" + }, + { + "path": "./dist/css/bootstrap.css", "maxSize": "25 kB" }, { + "path": "./dist/css/bootstrap.min.css", + "maxSize": "20 kB" + }, + { "path": "./dist/js/bootstrap.bundle.js", - "maxSize": "50 kB" + "maxSize": "45 kB" }, { "path": "./dist/js/bootstrap.bundle.min.js", |
