Skip to content

Commit 8b64020

Browse files
committed
debug
1 parent 28103ba commit 8b64020

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

dist/build/static/js/bundle.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
/*! For license information please see main.f36c5541.js.LICENSE.txt */
1+
/*! For license information please see main.4f3316df.js.LICENSE.txt */

webpack.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1+
require('dotenv').config();
12
const path = require("path");
23
const TerserPlugin = require("terser-webpack-plugin");
34
const glob = require("glob");
45
const { execSync } = require("child_process");
56
const webpack = require("webpack");
6-
const commitHash = (() => {
7+
const commitHash = process.env.LOCAL_COMMIT_HASH || (() => {
78
try {
89
return execSync("git rev-parse HEAD").toString().trim();
910
} catch (error) {
1011
return "unknown";
1112
}
1213
})();
13-
process.env.LOCAL_COMMIT_HASH = commitHash;
1414
module.exports = {
1515
mode: "production",
1616
entry: {

yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6118,6 +6118,11 @@ dotenv@^10.0.0:
61186118
resolved "https://registry.npmjs.org/dotenv/-/dotenv-10.0.0.tgz"
61196119
integrity sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q==
61206120

6121+
dotenv@^16.4.5:
6122+
version "16.4.5"
6123+
resolved "https://registry.npmjs.org/dotenv/-/dotenv-16.4.5.tgz"
6124+
integrity sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==
6125+
61216126
dotenv@^9.0.2:
61226127
version "9.0.2"
61236128
resolved "https://registry.npmjs.org/dotenv/-/dotenv-9.0.2.tgz"

0 commit comments

Comments
 (0)