1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-02 07:58:31 +00:00

4.0.0-rc5.3

* Fixed: Twitch emotes not displaying in Whispers.
* Fixed: Alignment of in-line actions when using Emote Alignment: Padded.
* Changed: Display the git commit hash for the current build in the FFZ Control Center, rather than the webpack build hash.
This commit is contained in:
SirStendec 2018-07-16 13:57:56 -04:00
parent aab1177d1f
commit c139de9d60
8 changed files with 31 additions and 7 deletions

View file

@ -1,3 +1,4 @@
const webpack = require('webpack');
const merge = require('webpack-merge');
const common = require('./webpack.web.common.js');
@ -8,6 +9,10 @@ const CleanPlugin = require('clean-webpack-plugin');
const uglify = require('uglify-es');
// Get Git info
const commit_hash = require('child_process').execSync('git rev-parse HEAD').toString().trim();
/* global module Buffer */
const config = module.exports = merge(common, {
@ -28,6 +33,9 @@ const config = module.exports = merge(common, {
}
}
}),
new webpack.DefinePlugin({
__git_commit__: JSON.stringify(commit_hash)
}),
new CopyPlugin([
{
from: './src/entry.js',