next.js
7ddd0ebb - import.meta.glob well-known function

Commit
22 days ago
import.meta.glob well-known function Detects import.meta.glob calls without conflicting with the existing import.meta visitor / rewrite. Constructs a new WellKnownFunctionKind for this method, and introduces a code generator for it which replaces the original span. In this commit, it is constructed with default arguments (not from the method arguments) and simply outputs an empty object. This is exported as a standalone chunk that is imported at the original callsite.
Author
Committer
Parents
Loading