Skip to content

Commit e0420e6

Browse files
committed
Revert "feat: add rollbar version"
This reverts commit b219439.
1 parent a089447 commit e0420e6

File tree

3 files changed

+1
-11
lines changed

3 files changed

+1
-11
lines changed

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@
167167
"eslint-plugin-react": "^5.2.2",
168168
"fakeredis": "^2.0.0",
169169
"foreman": "^1.4.1",
170-
"git-revision-webpack-plugin": "2.5.1",
171170
"jest": "^22.1.4",
172171
"jest-each": "^24.8.0",
173172
"json2csv": "^3.6.2",

webpack/config.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,11 @@ const { config } = require("./build-config");
22
const path = require("path");
33
const webpack = require("webpack");
44
const ManifestPlugin = require("webpack-manifest-plugin");
5-
const GitRevisionPlugin = require("git-revision-webpack-plugin");
65

76
const DEBUG = !config.isProduction;
87

9-
const gitRevisionPlugin = new GitRevisionPlugin();
10-
118
const plugins = [
129
new webpack.DefinePlugin({
13-
"process.env.COMMITHASH": JSON.stringify(gitRevisionPlugin.commithash()),
1410
"process.env.NODE_ENV": `"${config.NODE_ENV}"`,
1511
"process.env.PHONE_NUMBER_COUNTRY": `"${config.PHONE_NUMBER_COUNTRY}"`
1612
}),
@@ -25,7 +21,7 @@ const plugins = [
2521
const jsxLoaders = [{ loader: "babel-loader" }];
2622
const assetsDir = config.ASSETS_DIR;
2723
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";
2925

3026
if (!DEBUG) {
3127
plugins.push(

yarn.lock

-5
Original file line numberDiff line numberDiff line change
@@ -4379,11 +4379,6 @@ getpass@^0.1.1:
43794379
dependencies:
43804380
assert-plus "^1.0.0"
43814381

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-
43874382
glob-base@^0.3.0:
43884383
version "0.3.0"
43894384
resolved "https://registry.yarnpkg.com/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4"

0 commit comments

Comments
 (0)