Skip to content
This repository was archived by the owner on Sep 2, 2022. It is now read-only.

Latest commit

 

History

History
18 lines (16 loc) · 400 Bytes

File metadata and controls

18 lines (16 loc) · 400 Bytes

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;