WebPlatformImportMeta.resolvemethod ImportMeta.resolve#ImportMeta.resolve(specifier: string): stringA function that returns resolved specifier as if it would be imported using import(specifier). console.log(import.meta.resolve("./foo.js")); // file:///dev/foo.js Parameters ##specifier: stringReturn Type #string
method ImportMeta.resolve#ImportMeta.resolve(specifier: string): stringA function that returns resolved specifier as if it would be imported using import(specifier). console.log(import.meta.resolve("./foo.js")); // file:///dev/foo.js Parameters ##specifier: stringReturn Type #string