Skip to content

Commit e804b52

Browse files
billdybasakath20
authored andcommittedOct 25, 2018
Require 'execSync'
1 parent 6ff3c58 commit e804b52

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
 

‎webpack.config.dev.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const HtmlWebpackPlugin = require('html-webpack-plugin');
22
const webpack = require('webpack');
33
const path = require('path');
4-
const {execSync} = require('child_process');
4+
const { execSync } = require('child_process');
55

66
const __gitSHA__ = execSync('git rev-parse --short HEAD').toString();
77

‎webpack.config.prod.js

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ const HtmlWebpackPlugin = require('html-webpack-plugin');
55
const UglifyJSPlugin = require('uglifyjs-webpack-plugin');
66
const webpack = require('webpack');
77
const path = require('path');
8+
const { execSync } = require('child_process');
89

910
const __gitSHA__ = execSync('git rev-parse --short HEAD').toString();
1011

0 commit comments

Comments
 (0)
Please sign in to comment.