Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

webpack: Add a hook to print a compilation successful message.

Ganesh Pawarf8454fe58446
diff --git a/webpack.config.ts b/webpack.config.ts
index 9f222c373e2..715592ed6ea 100644
--- a/webpack.config.ts
+++ b/webpack.config.ts
@@ -209,7 +209,13 @@ export default (env: {minimize?: boolean} = {}, argv: {mode?: string}): webpack.
devServer: {
devMiddleware: {
publicPath: "/webpack/",
- stats: "errors-only",
+ stats: {
+ // We want just errors and a clear, brief notice
+ // whenever webpack compilation has finished.
+ preset: "minimal",
+ assets: false,
+ modules: false,
+ },
},
headers: {
"Access-Control-Allow-Origin": "*",