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:
parent
aab1177d1f
commit
c139de9d60
8 changed files with 31 additions and 7 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue