UNPKG

411 BTypeScriptView Raw
1/**
2 * Returns a URL or a path with slash at the end
3 * In production can be URL, absolute path, relative path
4 * In development always will be an absolute path
5 * In development can use `path` module functions for operations
6 */
7declare function getPublicUrlOrPath(
8 isEnvDevelopment: boolean,
9 homepage: string | undefined,
10 envPublicUrl: string | undefined,
11): string;
12
13export = getPublicUrlOrPath;