Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MD5Pipe

{{loader}} 中的 md5 管道,可以将资源 url 转换到包含 md5 后缀版本

Hierarchy

  • MD5Pipe

Implements

Index

Constructors

constructor

  • newMD5Pipe(md5AssetsMap: any, md5NativeAssetsMap: any, libraryBase: any): MD5Pipe

Properties

async

async: boolean = false

id

id: string = ID

libraryBase

libraryBase: any

md5AssetsMap

md5AssetsMap: any

md5NativeAssetsMap

md5NativeAssetsMap: any

pipeline

pipeline: null = null

Static ID

ID: string = ID

Methods

handle

  • handle(item: any): any

transformURL

  • transformURL(url: any, hashPatchInFolder?: undefined | false | true): any
  • 将一个 url 转换到包含 md5 后缀版本

    Parameters

    • url: any

      The url to be parsed

    • Optional hashPatchInFolder: undefined | false | true

      NA

    Returns any

Generated using TypeDoc