mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
webpack: Silence out-of-date warnings from caniuse browserslist.
This commit is contained in:
committed by
Tim Abbott
parent
578ddbc5c8
commit
47e0a89739
@@ -27,6 +27,11 @@ def build_for_prod_or_puppeteer(quiet: bool) -> NoReturn:
|
||||
]
|
||||
if quiet:
|
||||
webpack_args += ["--stats=errors-only"]
|
||||
|
||||
# Silence warnings from "browserslist" about using old data; those
|
||||
# warnings are only useful for development
|
||||
os.environ["BROWSERSLIST_IGNORE_OLD_DATA"] = "1"
|
||||
|
||||
os.execvp(webpack_args[0], webpack_args)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user