-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add and configure
git-revision-webpack-plugin
Configured `git-revision-webpack-plugin` (1) to provide the version, commit hash and branch as environment variables through through the `webpack.DefinePlugin` (2). The data is exposed through the following environment variables: - `NORD_DOCS_GIT_VERSION` - `NORD_DOCS_GIT_COMMITHASH` - `NORD_DOCS_GIT_BRANCH` References: (1) https://github.com/pirelenito/git-revision-webpack-plugin (2) https://webpack.js.org/plugins/define-plugin GH-31
- Loading branch information
1 parent
87fb27a
commit 60cff32
Showing
2 changed files
with
42 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters