qduld / vite-plugin-git-revision

Vite plugin that generates VERSION and COMMITHASH files during build based on a local git repository.
8 stars 11 forks source link

How to get git properties? #3

Open 1fexd opened 2 years ago

1fexd commented 2 years ago

Hi,

how would I go about obtaining the git tag, branch etc. in my app?

qduld commented 2 years ago

Hi,

how would I go about obtaining the git tag, branch etc. in my app?

I will develop this function , then update the readme file,If you are in a hurry, please refer to: https://github.com/pirelenito/git-revision-webpack-plugin write your own vite plugin。 Of course, I will update the relevant features as soon as possible

Shinigami92 commented 1 year ago

@qduld any progress on this?