跳到正文

Interface: PluginContextResolveOptions

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/define-config-DO4TBkJV.d.mts:1946

Properties

custom?

ts
optional custom: CustomPluginOptions;

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/define-config-DO4TBkJV.d.mts:1974

Plugin-specific options.

See Custom resolver options section for more details.


isEntry?

ts
optional isEntry: boolean;

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/define-config-DO4TBkJV.d.mts:1958

The value for isEntry passed to resolveId hooks.

Default

false if there's an importer, true otherwise.


kind?

ts
optional kind:
  | "import-statement"
  | "dynamic-import"
  | "require-call"
  | "import-rule"
  | "url-token"
  | "new-url"
  | "hot-accept";

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/define-config-DO4TBkJV.d.mts:1951

The value for kind passed to resolveId hooks.


skipSelf?

ts
optional skipSelf: boolean;

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/define-config-DO4TBkJV.d.mts:1968

Whether the resolveId hook of the plugin from which this.resolve is called will be skipped when resolving.

./docs/plugin-context-resolve-skipself.md

Default

ts
true

Released under the MIT License.