next.js
773687df - Turbopack: fix dynamic request lookup with only a single match (#77986)

Commit
1 year ago
Turbopack: fix dynamic request lookup with only a single match (#77986) Previously, if `require("./dynamic-files/"+name)` had only a single match, it would always return that one, regardless of whether `name` was equal to the matches' filename or not. Closes https://github.com/vercel/next.js/issues/74664 Closes PACK-4309
Author
Parents
Loading