A parcel plugin that adds the git description to the environment.
The output of git describe
is made available in the GIT_DESCRIBE
environment variable.
using npm:
npm i parcel-plugin-git-describe -D
using yarn:
yarn add parcel-plugin-git-describe --dev
const version = process.env.GIT_DESCRIBE;