BundleNameResolver

Bundle name resolver to determine the name of the bundle to be used in remote or builtin.

Bundle name resolver to determine the name of the bundle to be used in remote or builtin.

From "package.json", will use the "name" field from "package.json", if not specified, will be throw error. If "name" is with a scope prefix, it will be removed.

Or, specify a custom bundle name string or a function that returns a bundle name string.

View source ↗

Type

type BundleNameResolver =
  | { from: 'package.json' }
  | string
  | ((params: BundleInfoResolverParams) => string | Promise<string>);

On this page