mirror of https://github.com/zulip/zulip.git
webpack: Add a hook to print a compilation successful message.
This restores output notifying the developer when webpack compilation has been completed. We originally had this feature, but the implementation was wrong, and it was removed in #19721.
This commit is contained in:
parent
7879f78917
commit
f8454fe584
|
@ -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": "*",
|
||||
|
|
Loading…
Reference in New Issue