dependencies: Upgrade to webpack-bundle-tracker 1.0.0-alpha.1.

This also seems unmaintained, but is, at least, released.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2021-03-16 19:11:41 -07:00
committed by Tim Abbott
parent 738532ba51
commit 3c41db7f1a
7 changed files with 63 additions and 66 deletions

View File

@@ -91,20 +91,11 @@ def build_for_most_tests() -> None:
# configuration for ALL tests, but figuring out the full history here
# was out of the scope of the effort here to add some comments and
# clean up names.
entries = {}
with open("tools/webpack.assets.json") as json_data:
for entry in json.load(json_data).keys():
entries[entry] = [
{
"name": f"{entry}.js",
"publicPath": f"http://localhost:3000/webpack-stub/{entry}-stubentry.js",
"path": f"/stubfolder/{entry}-stubfile.js",
}
]
entries = json.load(json_data)
stat_data = {
"status": "done",
"chunks": entries,
"entryPoints": {name: [chunk] for name, chunk in entries.items()},
"chunks": {entry: [f"{entry}-stubentry.js"] for entry in entries},
}
directory = "var"
if not os.path.exists(directory):