Optional
runtimespecify your project's top-level runtime package manager object, or provide the path to the package json(c) file (such as "deno.json", "jsr.jsonc", "package.json", etc...), so that your project's import and export aliases can be resolved appropriately.
Optional
importspecifies 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.
Optional
resolveryou may control which resolvers to disable through the use of this property.
Optional
useInheritPluginData?: 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
.Optional
useImportMap?: booleanenable or disable import-map resolution for the current entity.
Optional
useRuntimePackage?: booleanenable or disable runtime-package resolution (such as "deno.json") for the current entity.
Optional
useNodeModules?: booleanenable or disable node_modules
file resolution for the current entity.
Optional
useRelativePath?: booleanenable or disable relative-path to absolute-path resolution for the current entity.
this is a slightly modified version of CommonPluginData, which accepts a path or url to your "deno.json" file under the
runtimePackage
property.