Optionalimportspecifies the current scope's import-map aliases. the keys of this object hold the aliased name of the import, while the values hold the absolute path of the referenced resource.
for further reading on import maps, see ImportMap.
Optionalruntimespecifies the current scope's runtime package manager (such as deno, jsr, npm, node, etc...), so that the package's own import and export aliases can be resolved appropriately.
Optionalresolveryou may control which resolvers to disable through the use of this property.
OptionaluseInheritPluginData?: booleanenable or disable missing pluginData inheritance (performed by the entryPlugin) for the current entity.
setting this to false will make the inheritance injector not record this entity's pluginData.
thus, in effect, all of the current entity's dependencies will not be able to inherit this entity's pluginData,
even when they (the dependencies) are lacking one (i.e. dependency_args.pluginData === undefined).
this could be useful when switching the scope to a new, isolated, package. but you could also strip away the plugin data in the current entity so that its dependencies don't pick up anything. so, the only scenario where this could be useful is when:
pluginData specific to the current entity.puginData: undefined, making its dependencies acquire dependency_args.puginData === undefined.dependency_args.puginData to now inherit from args.pluginData (the importer's plugin data).args.pluginData is never recorded by the inheritance resolver.
so, you achieve that by setting args.pluginData.resolverConfig.useInheritPluginData to false.OptionaluseImportMap?: booleanenable or disable import-map resolution for the current entity.
OptionaluseRuntimePackage?: booleanenable or disable runtime-package resolution (such as "deno.json") for the current entity.
OptionaluseNodeModules?: booleanenable or disable node_modules file resolution for the current entity.
OptionaluseRelativePath?: booleanenable or disable relative-path to absolute-path resolution for the current entity.
this is the common plugin data utilized by the resolvers in resolverPlugin esbuild-plugin.