[Dev] Remove unused code (#1795)

This commit is contained in:
Alexander Zinchuk 2022-04-01 20:43:10 +02:00
parent e5b6faff68
commit cb8a843d4a

View File

@ -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,