UNPKG

685 BTypeScriptView Raw
1import { InstallTarget } from '../vendor/types/esinstall';
2import { SnowpackConfig, SnowpackSourceFile } from './types';
3export declare function getInstallTargets(config: SnowpackConfig, knownEntrypoints: string[], scannedFiles?: SnowpackSourceFile[]): Promise<InstallTarget[]>;
4export declare function matchDynamicImportValue(importStatement: string): any;
5export declare function scanDepList(depList: string[], cwd: string): InstallTarget[];
6export declare function scanImports(includeTests: boolean, config: SnowpackConfig): Promise<InstallTarget[]>;
7export declare function scanImportsFromFiles(loadedFiles: SnowpackSourceFile[], config: SnowpackConfig): Promise<InstallTarget[]>;