Use stats: minimal

Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
This commit is contained in:
Hung-Han (Henry) Chen committed 2021-01-07 11:22:50 +08:00
1 parent 4e02f943f3
commit a7a7675a3b
3 files changed
+7 -4

No files matched your search

+2 -3
View File
@@ -133,8 +133,7 @@ export default function (): webpack.Configuration {
// out: 'extension-api.d.ts',
// })
],
// we probably don't need warnings as
// the output is only used for extension development/testing
stats: "errors-only"
// only output when errors or new compilation happen
stats: "minimal"
};
}
+3 -1
View File
@@ -68,6 +68,8 @@ export default function (): webpack.Configuration {
plugins: [
new ForkTsCheckerPlugin(),
new webpack.ProgressPlugin({ percentBy: "entries" }),
]
],
// only output when errors or new compilation happen
stats: "minimal"
};
}
+2
View File
@@ -188,5 +188,7 @@ export function webpackLensRenderer({ showVars = true } = {}): webpack.Configura
isDevelopment && new ReactRefreshWebpackPlugin(),
].filter(Boolean),
// only output when errors or new compilation happen
stats: "minimal"
};
}