docs/node_modules/react-loadable-ssr-addon/source/ReactLoadableSSRAddon.js
/**
   * Write Assets Manifest file
   * @method writeAssetsFile
   */
Write Assets Manifest file
@method writeAssetsFile
Write Assets Manifest file @method writeAssetsFile
writeAssetsFile() {
    const filePath = this.manifestOutputPath;
    const fileDir = path.dirname(filePath);
    const json = JSON.stringify(this.manifest, null, 2);
    try {
      if (!fs.existsSync(fileDir)) {
        fs.mkdirSync(fileDir);
      }
    } catch (err) {
      if (err.code !== 'EEXIST') {
        throw err;
      }
    }
    fs.writeFileSync(filePath, json);
  }
writeAssetsFile ( ) { const filePath = this . manifestOutputPath ; const fileDir = path . dirname ( filePath ) ; const json = JSON . stringify ( this . manifest , null , 2 ) ; try { if ( ! fs . existsSync ( fileDir ) ) { fs . mkdirSync ( fileDir ) ; } } catch ( err ) { if ( err . code !== 'EEXIST' ) { throw err ; } } fs . writeFileSync ( filePath , json ) ; }
Write Assets Manifest file
 @method writeAssetsFile
Write Assets Manifest file @method writeAssetsFile