snowpack
Version:
The ESM-powered frontend build tool. Fast, lightweight, unbundled.
8 lines (7 loc) • 685 B
TypeScript
import { InstallTarget } from '../vendor/types/esinstall';
import { SnowpackConfig, SnowpackSourceFile } from './types';
export declare function getInstallTargets(config: SnowpackConfig, knownEntrypoints: string[], scannedFiles?: SnowpackSourceFile[]): Promise<InstallTarget[]>;
export declare function matchDynamicImportValue(importStatement: string): any;
export declare function scanDepList(depList: string[], cwd: string): InstallTarget[];
export declare function scanImports(includeTests: boolean, config: SnowpackConfig): Promise<InstallTarget[]>;
export declare function scanImportsFromFiles(loadedFiles: SnowpackSourceFile[], config: SnowpackConfig): Promise<InstallTarget[]>;