Skip to content

Commit 4643258

Browse files
committed
remove console
1 parent 32fc453 commit 4643258

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

webpack.config.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,11 @@ const plugins = [
3030
.filter(asset => chunkRegEx.test(asset.name))
3131
.map(asset => asset.name);
3232

33-
console.log('stats', chunks);
34-
3533
const json = JSON.stringify(chunks);
3634

3735
compilation.assets['chunks.json'] = {
38-
source: function() {
39-
return json;
40-
},
41-
size: function() {
42-
return json.length;
43-
}
36+
source: () => json,
37+
size: () => json.length
4438
};
4539

4640
callback();

0 commit comments

Comments
 (0)