/parcel-plugin-git-describe

A parcel plugin that adds the git description to the environment.

Primary LanguageJavaScript

parcel-plugin-git-describe

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.

Installation

using npm:

npm i parcel-plugin-git-describe -D

using yarn:

yarn add parcel-plugin-git-describe --dev

Usage

const version = process.env.GIT_DESCRIBE;