RollupPlugin
This content is not available in your language yet.
Defined in: core/index.ts:3325
Properties
섹션 제목: “Properties”buildEnd?
섹션 제목: “buildEnd?”
optionalbuildEnd?:Hook<(this,error?) =>MaybePromise<void>>
Defined in: core/index.ts:3349
Once at bundle end. Rollup buildEnd-compatible — if there is an error, the build fails.
buildStart?
섹션 제목: “buildStart?”
optionalbuildStart?:Hook<(this) =>MaybePromise<void>>
Defined in: core/index.ts:3347
Once at bundle start. esbuild onStart / Rollup buildStart-compatible
(#2156). ZNTC calls it with no arguments (esbuild style) — if a Rollup
plugin expects the options argument, capture it in the plugin’s own
closure.
closeBundle?
섹션 제목: “closeBundle?”
optionalcloseBundle?:Hook<(this) =>MaybePromise<void>>
Defined in: core/index.ts:3351
After output files are written. Rollup closeBundle-compatible.
generateBundle?
섹션 제목: “generateBundle?”
optionalgenerateBundle?:Hook<(this,outputs) =>MaybePromise<void>>
Defined in: core/index.ts:3342
load?
섹션 제목: “load?”
optionalload?:Hook<(this,id) =>MaybePromise<LoadResult>>
Defined in: core/index.ts:3335
name
섹션 제목: “name”name:
string
Defined in: core/index.ts:3326
renderChunk?
섹션 제목: “renderChunk?”
optionalrenderChunk?:Hook<(this,code,chunk) =>MaybePromise<RenderChunkResult>>
Defined in: core/index.ts:3339
resolveId?
섹션 제목: “resolveId?”
optionalresolveId?:Hook<(this,source,importer?) =>MaybePromise<ResolveIdResult>>
Defined in: core/index.ts:3328
Rollup resolveId. Both a function and a vite 4+ new-style hook object { filter, handler } are allowed.
transform?
섹션 제목: “transform?”
optionaltransform?:Hook<(this,code,id) =>MaybePromise<TransformResult>>
Defined in: core/index.ts:3336