static _get(modules, url, prefix, prod, publicPath, pathsKey, localKey) {
    prefix = prefix || empty
    prod = prod !== false

    const files = []

    modules
      .filter((p) => p[localKey])
      .forEach((p) => files.push(publicPath + p[localKey]))

    modules
      .filter((p) => p[pathsKey].length > 0)
      .forEach((p) => {
        const moduleSpecificUrl = prod ? p.prodUrl : p.devUrl
        p[pathsKey].forEach((s) =>
          files.push(
            prefix +
              (moduleSpecificUrl || url).replace(paramsRegex, (m, p1) => {
                if (prod && p.cdn && p1 === 'name') {
                  return p.cdn
                }

                return p1 === 'path' ? s : p[p1]
              })
          )
        )
      })

    return files
  }
/**
   * Generic method to construct the list of files
   */
Generic method to construct the list of files
Generic method to construct the list of files
static _get(modules, url, prefix, prod, publicPath, pathsKey, localKey) {
    prefix = prefix || empty
    prod = prod !== false
    const files = []
    modules
      .filter((p) => p[localKey])
      .forEach((p) => files.push(publicPath + p[localKey]))
    modules
      .filter((p) => p[pathsKey].length > 0)
      .forEach((p) => {
        const moduleSpecificUrl = prod ? p.prodUrl : p.devUrl
        p[pathsKey].forEach((s) =>
          files.push(
            prefix +
              (moduleSpecificUrl || url).replace(paramsRegex, (m, p1) => {
                if (prod && p.cdn && p1 === 'name') {
                  return p.cdn
                }
                return p1 === 'path' ? s : p[p1]
              })
          )
        )
      })
    return files
  }
static _get ( modules , url , prefix , prod , publicPath , pathsKey , localKey ) { prefix = prefix || empty prod = prod !== false const files = [ ] modules . filter ( ( p ) => p [ localKey ] ) . forEach ( ( p ) => files . push ( publicPath + p [ localKey ] ) ) modules . filter ( ( p ) => p [ pathsKey ] . length > 0 ) . forEach ( ( p ) => { const moduleSpecificUrl = prod ? p . prodUrl : p . devUrl p [ pathsKey ] . forEach ( ( s ) => files . push ( prefix + ( moduleSpecificUrl || url ) . replace ( paramsRegex , ( m , p1 ) => { if ( prod && p . cdn && p1 === 'name' ) { return p . cdn } return p1 === 'path' ? s : p [ p1 ] } ) ) ) } ) return files }
Generic method to construct the list of files
Generic method to construct the list of files