We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcd4dbe commit d6a2a3eCopy full SHA for d6a2a3e
1 file changed
packages/wrangler/src/deployment-bundle/bundle.ts
@@ -301,8 +301,8 @@ export async function bundleWorker(
301
// filter the hook calls to only those that match the alias keys
302
// this should avoid slowing down builds which don't use aliasing
303
const filter = new RegExp(
304
- Object.entries(alias)
305
- .map(([key, _value]) => escapeRegex(key))
+ Object.keys(alias)
+ .map((key) => escapeRegex(key))
306
.join("|")
307
);
308
0 commit comments