UNPKG

766 BTypeScriptView Raw
1export interface ScssBundleConfig {
2 bundlerOptions: BundlerOptions;
3}
4export interface BundlerOptions {
5 project?: string;
6 entryFile?: string;
7 outFile?: string;
8 rootDir?: string;
9 ignoreImports?: string[];
10 includePaths?: string[];
11 dedupeGlobs?: string[];
12 watch?: boolean;
13 logLevel?: string;
14}
15export interface FileRegistry {
16 [id: string]: string | undefined;
17}
18export interface ImportData {
19 importString: string;
20 tilde: boolean;
21 path: string;
22 fullPath: string;
23 found: boolean;
24 ignored?: boolean;
25}
26export interface BundleResult {
27 imports?: BundleResult[];
28 tilde?: boolean;
29 deduped?: boolean;
30 filePath: string;
31 bundledContent?: string;
32 found: boolean;
33 ignored?: boolean;
34}