Skip to content

Commit

Permalink
Record sizes and fix bundle lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Nov 3, 2017
1 parent fd47129 commit 61d35ce
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions scripts/rollup/results.json
Original file line number Diff line number Diff line change
Expand Up @@ -177,16 +177,16 @@
"gzip": 60118
},
"react-test-renderer-shallow.development.js (NODE_DEV)": {
"size": 10121,
"gzip": 2553
"size": 10657,
"gzip": 2680
},
"react-test-renderer-shallow.production.min.js (NODE_PROD)": {
"size": 4675,
"gzip": 1703
"size": 5004,
"gzip": 1865
},
"ReactShallowRenderer-dev.js (FB_DEV)": {
"size": 9619,
"gzip": 2387
"size": 10140,
"gzip": 2515
},
"react-noop-renderer.development.js (NODE_DEV)": {
"size": 280181,
Expand Down
8 changes: 4 additions & 4 deletions scripts/rollup/validate/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function run(format, filePatterns) {
const result = spawnSync(
path.join('node_modules', '.bin', 'eslint' + extension),
[
filePatterns,
...filePatterns,
'--config',
path.join(__dirname, `eslintrc.${format}.js`),
// Disregard our ESLint rules that apply to the source.
Expand All @@ -36,7 +36,7 @@ function run(format, filePatterns) {
}
}

run('fb', `./build/facebook-www/*.js`);
run('rn', `./build/{react-cs,react-native,react-rt}/*.js`);
run('umd', `./build/packages/*/umd/*.js`);
run('fb', [`./build/facebook-www/*.js`]);
run('rn', [`./build/{react-cs,react-native,react-rt}/*.js`]);
run('umd', [`./build/packages/*/umd/*.js`]);
run('cjs', [`./build/packages/*/*.js`, `./build/packages/*/cjs/*.js`]);

0 comments on commit 61d35ce

Please sign in to comment.