Skip to content

Commit

Permalink
style: remove debugging statements
Browse files Browse the repository at this point in the history
  • Loading branch information
tivac committed Jul 12, 2018
1 parent 1aa32ab commit 9e6342e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/rollup/rollup.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,6 @@ module.exports = function(opts) {
);
}

// console.log(bundles);

// First pass is used to calculate JS usage of CSS dependencies
Object.keys(bundles).forEach((entry) => {
const file = {
Expand All @@ -153,8 +151,6 @@ module.exports = function(opts) {
start,
];

// console.log({ start, used });

file.css = file.css.concat(used);

used.forEach((dep) => {
Expand All @@ -165,8 +161,6 @@ module.exports = function(opts) {
files.push(file);
});

// console.log({ usage, files });

// Second pass removes any dependencies appearing in multiple bundles
files.forEach((file) => {
const { css } = file;
Expand Down Expand Up @@ -198,8 +192,6 @@ module.exports = function(opts) {
});
}

// console.log({ files });

await Promise.all(
files
.filter(({ css }) => css.length)
Expand Down

0 comments on commit 9e6342e

Please sign in to comment.