Skip to content

Commit

Permalink
Switch to yarn with multiple rollup versions to test
Browse files Browse the repository at this point in the history
  • Loading branch information
doesdev committed Jun 6, 2018
1 parent 73e524b commit 3cd30cc
Show file tree
Hide file tree
Showing 4 changed files with 2,654 additions and 4,455 deletions.
2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,8 @@ function formatted (bndl) { return analyze(bndl, true) }
function analyze (bundle, format) {
let deps = {};
let bundleSize = 0;
// console.log(bundle)
return new Promise((resolve, reject) => {
let modules = bundle.modules.map((m, i) => {
console.log(Object.assign({}, m, {code: 'redacted', originalCode: 'redacted'}));
let id = m.id.replace(root, '');
let size = Buffer.byteLength(m.code, 'utf8') || 0;
bundleSize += size;
Expand Down
Loading

0 comments on commit 3cd30cc

Please sign in to comment.