Skip to content

Commit e1de048

Browse files
committed
omit determining size for non-production builds
1 parent e1ab9f7 commit e1de048

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎lib/WebpackOptionsDefaulter.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ class WebpackOptionsDefaulter extends OptionsDefaulter {
113113
this.set("node.__filename", "mock");
114114
this.set("node.__dirname", "mock");
115115

116+
this.set("performance", "make", options => options.mode !== "production" ? false : undefined);
116117
this.set("performance", "call", value => {
117118
if(typeof value === "boolean") {
118119
return value;

0 commit comments

Comments
 (0)