webpack: Remove unused hexoid alias.

koa-body was switched to @koa/bodyparser during development of #29198,
so this was never used.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2024-11-12 14:25:13 -08:00 committed by Anders Kaseorg
parent 3c9c6f0a3b
commit ffc99d2025
1 changed files with 0 additions and 6 deletions

View File

@ -278,12 +278,6 @@ const config = (
output: { output: {
path: path.resolve(__dirname, "../static/webpack-bundles"), path: path.resolve(__dirname, "../static/webpack-bundles"),
}, },
resolve: {
alias: {
// koa-body uses formidable 2.x, which suffers from https://github.com/node-formidable/formidable/issues/337
hexoid: "hexoid/dist/index.js",
},
},
}; };
return [frontendConfig, serverConfig]; return [frontendConfig, serverConfig];