Function loadAssetsFromStats

  • Load stats.json which is created during build. Attempt to load the stats.json file which contains a manifest of The file contains bundle files which are to be loaded on the client side.

    Parameters

    • statsPath: any

      path of stats.json

    Returns Asset

    an object containing an array of file names