Commit e0420e6 1 parent a089447 commit e0420e6 Copy full SHA for e0420e6
File tree 3 files changed +1
-11
lines changed
3 files changed +1
-11
lines changed Original file line number Diff line number Diff line change 167
167
"eslint-plugin-react" : " ^5.2.2" ,
168
168
"fakeredis" : " ^2.0.0" ,
169
169
"foreman" : " ^1.4.1" ,
170
- "git-revision-webpack-plugin" : " 2.5.1" ,
171
170
"jest" : " ^22.1.4" ,
172
171
"jest-each" : " ^24.8.0" ,
173
172
"json2csv" : " ^3.6.2" ,
Original file line number Diff line number Diff line change @@ -2,15 +2,11 @@ const { config } = require("./build-config");
2
2
const path = require ( "path" ) ;
3
3
const webpack = require ( "webpack" ) ;
4
4
const ManifestPlugin = require ( "webpack-manifest-plugin" ) ;
5
- const GitRevisionPlugin = require ( "git-revision-webpack-plugin" ) ;
6
5
7
6
const DEBUG = ! config . isProduction ;
8
7
9
- const gitRevisionPlugin = new GitRevisionPlugin ( ) ;
10
-
11
8
const plugins = [
12
9
new webpack . DefinePlugin ( {
13
- "process.env.COMMITHASH" : JSON . stringify ( gitRevisionPlugin . commithash ( ) ) ,
14
10
"process.env.NODE_ENV" : `"${ config . NODE_ENV } "` ,
15
11
"process.env.PHONE_NUMBER_COUNTRY" : `"${ config . PHONE_NUMBER_COUNTRY } "`
16
12
} ) ,
@@ -25,7 +21,7 @@ const plugins = [
25
21
const jsxLoaders = [ { loader : "babel-loader" } ] ;
26
22
const assetsDir = config . ASSETS_DIR ;
27
23
const assetMapFile = config . ASSETS_MAP_FILE ;
28
- const outputFile = DEBUG ? "[name].js" : "[name].[git-revision-hash ].js" ;
24
+ const outputFile = DEBUG ? "[name].js" : "[name].[chunkhash ].js" ;
29
25
30
26
if ( ! DEBUG ) {
31
27
plugins . push (
Original file line number Diff line number Diff line change @@ -4379,11 +4379,6 @@ getpass@^0.1.1:
4379
4379
dependencies :
4380
4380
assert-plus "^1.0.0"
4381
4381
4382
- git-revision-webpack-plugin@2.5.1 :
4383
- version "2.5.1"
4384
- resolved "https://registry.yarnpkg.com/git-revision-webpack-plugin/-/git-revision-webpack-plugin-2.5.1.tgz#3fb4398f376cf27678d6de96ba2669b518645e78"
4385
- integrity sha1-P7Q5jzds8nZ41t6WuiZptRhkXng=
4386
-
4387
4382
glob-base@^0.3.0 :
4388
4383
version "0.3.0"
4389
4384
resolved "https://registry.yarnpkg.com/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4"
You can’t perform that action at this time.
0 commit comments