git-revision-webpack-plugin
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -1,3 +0,2 @@ | ||
var writeCommithashFile = require('./write-commithash-file') | ||
var writeVersionFile = require('./write-version-file') | ||
var buildFile = require('./build-file') | ||
@@ -7,6 +6,6 @@ function GitRevisionPlugin () {} | ||
GitRevisionPlugin.prototype.apply = function (compiler) { | ||
writeCommithashFile(compiler) | ||
writeVersionFile(compiler) | ||
buildFile(compiler, 'git rev-parse HEAD', 'COMMITHASH') | ||
buildFile(compiler, 'git describe', 'VERSION') | ||
} | ||
module.exports = GitRevisionPlugin |
{ | ||
"name": "git-revision-webpack-plugin", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Simple webpack plugin that generates VERSION and COMMITHASH files during build", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1
3100
7
29