sourceMap.d.ts 838 B

1234567891011121314151617
  1. import { APP_PLATFORM } from './utils';
  2. /**
  3. * 缓存 sourcemap
  4. * @param pluginRelativeDir
  5. * @param outputDir
  6. * @param cacheDir
  7. */
  8. export declare function storeSourceMap(platform: APP_PLATFORM, pluginRelativeDir: string, outputDir: string, cacheDir: string, is_uni_modules: boolean): boolean;
  9. /**
  10. * 拷贝 sourcemap
  11. * @param pluginRelativeDir
  12. * @param outputDir
  13. * @param cacheDir
  14. */
  15. export declare function restoreSourceMap(platform: APP_PLATFORM, pluginRelativeDir: string, outputDir: string, cacheDir: string, is_uni_modules: boolean): void;
  16. export declare function resolveSourceMapFilename(platform: APP_PLATFORM, pluginRelativeDir: string, outputDir: string, is_uni_modules: boolean): string;
  17. export declare function resolveSourceMapCacheFilename(platform: APP_PLATFORM, cacheDir: string, pluginRelativeDir: string): string;