{"push_id":2822558008,"size":1,"distinct_size":1,"ref":"refs/heads/hmr","head":"810c7a7481417ab2cac2404152e54ab11fe44acf","before":"5216297b4f74162917aa398d25a51f19358a836e","commits":[{"sha":"810c7a7481417ab2cac2404152e54ab11fe44acf","author":{"name":"André Cruz","email":"3909ce2714621810d8f13b3b1654f57f894ff7ea@msn.com"},"message":"Add support for hot module reload.\n\nThis commit adds hot module reload support:\n- When [hash] is used, the previous hashed URLs will be correctly replaced with the new ones\n- When [hash] is not used, a cache-bust will be added to the URL to force browsers to re-download the sprite; this only happens on the first render so that it plays well with server-side rendering, otherwise many view libraries will complain about mismatches during rehydration (such as React).\n\nMoreover, a few more changes were done:\n- Removed `cacheable(false)` because it's no longer necessary and actually was hurting performance a lot\n- Fix dots and other chars not being correctly escaped in regular expressions by using lodash\n- Moved RegExp logic to the plugin and improve performance by not doing unnecessary work, such as replacements, if the sprite hasn't changed\n- Removed unused `resourcePath` from SvgIcon\n- Added support for HRM with react-hot-loader in the example app, with and without [hash]\n- Changed external-svg-sprite-loader imports in the example app to be relative so that we can test changes in the library without having to re-install the dependencies\n\nCloses #14.","distinct":true,"url":"https://api.github.com/repos/satazor/external-svg-sprite-loader/commits/810c7a7481417ab2cac2404152e54ab11fe44acf"}]}
{"actor":{"display_login":"satazor"}}