mirror of
https://github.com/danog/telegram-tt.git
synced 2024-11-30 04:39:00 +01:00
[Dev] Remove unused code (#1795)
This commit is contained in:
parent
e5b6faff68
commit
cb8a843d4a
@ -12,9 +12,6 @@ const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');
|
||||
const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');
|
||||
const { GitRevisionPlugin } = require('git-revision-webpack-plugin');
|
||||
|
||||
const gitRevisionPlugin = new GitRevisionPlugin();
|
||||
const branch = process.env.HEAD || gitRevisionPlugin.branch();
|
||||
const appRevision = (!branch || branch === 'HEAD') ? gitRevisionPlugin.commithash().substring(0, 7) : branch;
|
||||
const appVersion = require('./package.json').version;
|
||||
|
||||
dotenv.config();
|
||||
@ -124,7 +121,6 @@ module.exports = (env = {}, argv = {}) => {
|
||||
APP_ENV: 'production',
|
||||
APP_NAME: null,
|
||||
APP_VERSION: appVersion,
|
||||
APP_REVISION: appRevision,
|
||||
TELEGRAM_T_API_ID: undefined,
|
||||
TELEGRAM_T_API_HASH: undefined,
|
||||
TEST_SESSION: null,
|
||||
|
Loading…
Reference in New Issue
Block a user