cssPreprocessorOptions.d.ts — vite Source File
Architecture documentation for cssPreprocessorOptions.d.ts, a typescript file in the vite codebase. 4 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 64d415ab_7a6e_b103_2fae_d1dc9a178d1f["cssPreprocessorOptions.d.ts"] 9b6dfdc1_734c_47c7_0537_9652c79790cf["sass"] 64d415ab_7a6e_b103_2fae_d1dc9a178d1f --> 9b6dfdc1_734c_47c7_0537_9652c79790cf 69f4b421_2b98_0dd5_6379_6ad3f668f85b["sass-embedded"] 64d415ab_7a6e_b103_2fae_d1dc9a178d1f --> 69f4b421_2b98_0dd5_6379_6ad3f668f85b d878b450_b917_cefa_7caf_29f74c56f22c["less"] 64d415ab_7a6e_b103_2fae_d1dc9a178d1f --> d878b450_b917_cefa_7caf_29f74c56f22c 0df9a6ad_9884_8e58_5c89_258532804430["stylus"] 64d415ab_7a6e_b103_2fae_d1dc9a178d1f --> 0df9a6ad_9884_8e58_5c89_258532804430 style 64d415ab_7a6e_b103_2fae_d1dc9a178d1f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
/* eslint-disable @typescript-eslint/ban-ts-comment */
// @ts-ignore `sass` may not be installed
import type DartSass from 'sass'
// @ts-ignore `sass-embedded` may not be installed
import type SassEmbedded from 'sass-embedded'
// @ts-ignore `less` may not be installed
import type Less from 'less'
// @ts-ignore `stylus` may not be installed
import type Stylus from 'stylus'
/* eslint-enable @typescript-eslint/ban-ts-comment */
// https://github.com/type-challenges/type-challenges/issues/29285
type IsAny<T> = boolean extends (T extends never ? true : false) ? true : false
type DartSassStringOptionsAsync = DartSass.StringOptions<'async'>
type SassEmbeddedStringOptionsAsync = SassEmbedded.StringOptions<'async'>
type SassStringOptionsAsync =
IsAny<SassEmbeddedStringOptionsAsync> extends false
? SassEmbeddedStringOptionsAsync
: DartSassStringOptionsAsync
export type SassModernPreprocessBaseOptions = Omit<
SassStringOptionsAsync,
'url' | 'sourceMap'
>
export type LessPreprocessorBaseOptions = Omit<
Less.Options,
'sourceMap' | 'filename'
>
export type StylusPreprocessorBaseOptions = Omit<
Stylus.RenderOptions,
'filename'
> & { define?: Record<string, any> }
declare global {
// LESS' types somewhat references this which doesn't make sense in Node,
// so we have to shim it
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
interface HTMLLinkElement {}
}
Classes
Types
Dependencies
- less
- sass
- sass-embedded
- stylus
Source
Frequently Asked Questions
What does cssPreprocessorOptions.d.ts do?
cssPreprocessorOptions.d.ts is a source file in the vite codebase, written in typescript.
What does cssPreprocessorOptions.d.ts depend on?
cssPreprocessorOptions.d.ts imports 4 module(s): less, sass, sass-embedded, stylus.
Where is cssPreprocessorOptions.d.ts in the architecture?
cssPreprocessorOptions.d.ts is located at packages/vite/types/internal/cssPreprocessorOptions.d.ts (directory: packages/vite/types/internal).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free