encrypt.d.ts 474 B

1234567891011121314
  1. import { APP_PLATFORM } from './manifest/utils';
  2. export declare function isEncrypt(pluginDir: string): boolean;
  3. export declare function compileEncrypt(pluginDir: string): Promise<{
  4. dir: string;
  5. code: string;
  6. deps: string[];
  7. encrypt: boolean;
  8. meta: {
  9. commonjs: {
  10. isCommonJS: boolean;
  11. };
  12. };
  13. }>;
  14. export declare function resolveJsCodeCacheFilename(platform: APP_PLATFORM, cacheDir: string, pluginRelativeDir: string): string;