File tree Expand file tree Collapse file tree 4 files changed +2186
-55
lines changed Expand file tree Collapse file tree 4 files changed +2186
-55
lines changed Original file line number Diff line number Diff line change
1
+ name : ' Bundle Size'
2
+ on :
3
+ pull_request :
4
+ branches :
5
+ - master
6
+ jobs :
7
+ size :
8
+ runs-on : ubuntu-latest
9
+ env :
10
+ CI_JOB_NUMBER : 1
11
+ steps :
12
+ - uses : actions/checkout@v1
13
+ - uses : andresz1/size-limit-action@v1
14
+ with :
15
+ github_token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ module . exports = [
2
+ {
3
+ name : '@sentry/browser - CDN Bundle (gzipped)' ,
4
+ path : 'packages/browser/build/bundle.min.js' ,
5
+ gzip : true ,
6
+ limit : '18 KB' ,
7
+ } ,
8
+ {
9
+ name : '@sentry/browser - Webpack' ,
10
+ path : 'packages/browser/dist/index.js' ,
11
+ import : '{ init }' ,
12
+ limit : '18 KB' ,
13
+ } ,
14
+ ] ;
Original file line number Diff line number Diff line change 15
15
"postpublish" : " make publish-docs"
16
16
},
17
17
"volta" : {
18
- "node" : " 10.15.3 " ,
18
+ "node" : " 10.18.1 " ,
19
19
"yarn" : " 1.13.0"
20
20
},
21
21
"workspaces" : [
34
34
],
35
35
"devDependencies" : {
36
36
"@google-cloud/storage" : " ^2.5.0" ,
37
+ "@size-limit/preset-big-lib" : " ^4.5.5" ,
37
38
"@strictsoftware/typedoc-plugin-monorepo" : " ^0.2.1" ,
38
39
"@types/chai" : " ^4.1.3" ,
39
40
"@types/jest" : " ^24.0.11" ,
55
56
"replace-in-file" : " ^4.0.0" ,
56
57
"rimraf" : " ^2.6.3" ,
57
58
"sinon" : " ^7.3.2" ,
59
+ "size-limit" : " ^4.5.5" ,
58
60
"ts-jest" : " ^24.0.2" ,
59
61
"tslint" : " ^5.16.0" ,
60
62
"typedoc" : " ^0.14.2" ,
You can’t perform that action at this time.
0 commit comments