Problem: when git is in the detached state (for example after checkout to tag git checkout 0.3.8) .git/HEAD file doesn't contain ref name. It leads to "Cannot read property 'branch' of null" error in the panel.
Changes
use git-revision-webpack-plugin for extracting git information and place it to config in build time
fixes #831
Problem: when git is in the detached state (for example after checkout to tag
git checkout 0.3.8
).git/HEAD
file doesn't contain ref name. It leads to "Cannot read property 'branch' of null" error in the panel.Changes
git-revision-webpack-plugin
for extracting git information and place it to config in build time