Add message that reveals commit that SwaggerUI was derived from
This commit is contained in:
@@ -2,11 +2,14 @@ var path = require('path')
|
||||
|
||||
var webpack = require('webpack')
|
||||
var ExtractTextPlugin = require('extract-text-webpack-plugin')
|
||||
var GitRevisionPlugin = require('git-revision-webpack-plugin')
|
||||
var deepExtend = require('deep-extend')
|
||||
var autoprefixer = require('autoprefixer')
|
||||
|
||||
var loadersByExtension = require('./build-tools/loadersByExtension')
|
||||
|
||||
var gitRevisionPlugin = new GitRevisionPlugin()
|
||||
|
||||
module.exports = function(options) {
|
||||
|
||||
// Special options, that have logic in this file
|
||||
@@ -59,7 +62,8 @@ module.exports = function(options) {
|
||||
new webpack.DefinePlugin({
|
||||
'process.env': {
|
||||
NODE_ENV: specialOptions.minimize ? JSON.stringify('production') : null,
|
||||
WEBPACK_INLINE_STYLES: !Boolean(specialOptions.separateStylesheets)
|
||||
WEBPACK_INLINE_STYLES: !Boolean(specialOptions.separateStylesheets),
|
||||
COMMITHASH: JSON.stringify(gitRevisionPlugin.commithash())
|
||||
},
|
||||
}))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user