git-revision-webpack-plugin
- Version 5.0.0
- Published
- 55.1 kB
- No dependencies
- MIT license
Install
npm i git-revision-webpack-plugin
yarn add git-revision-webpack-plugin
pnpm add git-revision-webpack-plugin
Overview
[![npm version](https://badge.fury.io/js/git-revision-webpack-plugin.svg)](https://badge.fury.io/js/git-revision-webpack-plugin) [![downloads](https://img.shields.io/npm/dm/git-revision-webpack-plugin.svg?style=flat-square)](https://www.npmjs.com/package/
Index
Classes
class GitRevisionPlugin
class GitRevisionPlugin {}
constructor
constructor(options?: GitRevisionPluginOptions);
property branchCommand
branchCommand: string;
property commithashCommand
commithashCommand: string;
property createBranchFile
createBranchFile: boolean;
property gitWorkTree
gitWorkTree?: string;
property lastCommitDateTimeCommand
lastCommitDateTimeCommand: string;
property versionCommand
versionCommand: string;
method apply
apply: (compiler: Compiler) => void;
method branch
branch: () => string | null;
method commithash
commithash: () => string | null;
method lastcommitdatetime
lastcommitdatetime: () => string | null;
method version
version: () => string | null;
Package Files (1)
Dependencies (0)
No dependencies.
Dev Dependencies (10)
Peer Dependencies (1)
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/git-revision-webpack-plugin
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/git-revision-webpack-plugin)
- HTML<a href="https://www.jsdocs.io/package/git-revision-webpack-plugin"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 1255 ms. - Missing or incorrect documentation? Open an issue for this package.