Files
SnowLuma/.pnpm-store/v11/files/c2/5d41412690fd77861ce3c3b3333849d7bbfabc0cc1ac78984fa8adcb506335b7f6c17f5eeb81c80bc1dd635a729fe0eb52679d101dda1e7f546fef6ce6d7ff
TanTan 2a69b23b47
Dev Build / cleanup (push) Canceled after 0s
Dev Build / typecheck (push) Canceled after 0s
Dev Build / build (linux-arm64, ubuntu-24.04-arm, linux-arm64) (push) Canceled after 0s
Dev Build / build (linux-x64, ubuntu-latest, linux-x64) (push) Canceled after 0s
Dev Build / build (win-x64, windows-latest, win32-x64) (push) Canceled after 0s
Dev Build / dispatch-dev-docker (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

48 lines
1.1 KiB
Plaintext

export interface AssetMetadata {
importedAssets: Set<string>
importedCss: Set<string>
}
export interface ChunkMetadata {
importedAssets: Set<string>
importedCss: Set<string>
/** @internal */
__modules: any
}
export interface CustomPluginOptionsVite {
/**
* If this is a CSS Rollup module, you can scope to its importer's exports
* so that if those exports are treeshaken away, the CSS module will also
* be treeshaken.
*
* The "importerId" must import the CSS Rollup module statically.
*
* Example config if the CSS id is `/src/App.vue?vue&type=style&lang.css`:
* ```js
* cssScopeTo: ['/src/App.vue', 'default']
* ```
*/
cssScopeTo?: readonly [importerId: string, exportName: string | undefined]
/** @deprecated no-op since Vite 6.1 */
lang?: string
}
declare module 'rolldown' {
export interface OutputAsset {
viteMetadata?: AssetMetadata
}
export interface RenderedChunk {
viteMetadata?: ChunkMetadata
}
export interface OutputChunk {
viteMetadata?: ChunkMetadata
}
export interface CustomPluginOptions {
vite?: CustomPluginOptionsVite
}
}