Update Index.js to support hashes
Update Index.js to support hashes

i'm using hash from ExtractTextPlugin so my css file name looks like : "styles.css?[contenthash]",
therefore i needed to change the regex.
purifycss/purifycss-webpack-plugin