Created by: tibdex
The goal is to be able to set homepage in the package.json to ./ (or just .) to be able to deploy the app anywhere. This topic has already been mentioned in #1094 (closed), #931 and #165 (closed).
This PR will obviously not make this homepage "trick" works with client-side routing without hash but not everybody needs this feature anyway.
The only problem I saw when setting the homepage to ./ is #1480 (closed). This issue is caused by ExtractTextPlugin not supporting non-flat build output by default. To fix it, we can use the publicPath option of this plugin and go back to the build folder when needed.