packages/cozy-scripts/config/webpack.config.hash.js
function() {
      this.plugin('done', stats => {
        fs.writeFileSync(
          path.join(targetConfig.output.path, paths.appBuildAssetsJson()),
          `{"hash":"${stats.hash}"}`
        )
      })
    }
function() {
      this.plugin('done', stats => {
        fs.writeFileSync(
          path.join(targetConfig.output.path, paths.appBuildAssetsJson()),
          `{"hash":"${stats.hash}"}`
        )
      })
    }
function ( ) { this . plugin ( 'done' , stats => { fs . writeFileSync ( path . join ( targetConfig . output . path , paths . appBuildAssetsJson ( ) ) , ` ${ stats . hash } ` ) } ) }
Extracts Hash in external file for reference
Extracts Hash in external file for reference