You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is also possible to use two [path substituitions](http://webpack.github.io/docs/configuration.html#output-filename) on build to get either the revision or version as part of output paths.
98
136
99
137
-`[git-revision-version]`
100
138
-`[git-revision-hash]`
139
+
-`[git-revision-branch]` (only with the branch option enabled)
101
140
102
141
Example:
103
142
@@ -112,7 +151,7 @@ module.exports = {
112
151
113
152
## Plugin API
114
153
115
-
The `VERSION`and `COMMITHASH` are also exposed through a public API.
154
+
The `VERSION`, `COMMITHASH`and `BRANCH` are also exposed through a public API.
116
155
117
156
Example using the [DefinePlugin](http://webpack.github.io/docs/list-of-plugins.html#defineplugin):
0 commit comments