mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 17:15:48 +00:00
shoten import of execSync
This commit is contained in:
parent
de5a131eb1
commit
55d9171094
1 changed files with 3 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (C) 2017-2020 Smart code 203358507
|
||||
|
||||
const path = require('path');
|
||||
const child_process = require('child_process');
|
||||
const { execSync } = require('child_process');
|
||||
const webpack = require('webpack');
|
||||
const HtmlWebPackPlugin = require('html-webpack-plugin');
|
||||
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
||||
|
|
@ -10,7 +10,7 @@ const CopyWebpackPlugin = require('copy-webpack-plugin');
|
|||
const TerserPlugin = require('terser-webpack-plugin');
|
||||
const pachageJson = require('./package.json');
|
||||
|
||||
const COMMIT_HASH = child_process.execSync('git rev-parse HEAD').toString().trim();
|
||||
const COMMIT_HASH = execSync('git rev-parse HEAD').toString().trim();
|
||||
|
||||
module.exports = (env, argv) => ({
|
||||
mode: argv.mode,
|
||||
|
|
@ -85,6 +85,7 @@ module.exports = (env, argv) => ({
|
|||
removeAll: true,
|
||||
},
|
||||
discardOverridden: false,
|
||||
discardUnused: false,
|
||||
mergeIdents: false,
|
||||
normalizeDisplayValues: false,
|
||||
normalizePositions: false,
|
||||
|
|
|
|||
Loading…
Reference in a new issue