Menu
Open source
import.meta
The import.meta object provides the resolve function, which resolves a path to a URL string in the same way an import statement does.
The import.meta object is only available in ECMAScript modules, not in CommonJS modules.