Skip to content

Commit 398746c

Browse files
committed
fix error
1 parent d662f5d commit 398746c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webpack.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const commitHash = (() => {
1010
return "unknown";
1111
}
1212
})();
13-
13+
process.env.LOCAL_COMMIT_HASH = commitHash;
1414
module.exports = {
1515
mode: "production",
1616
entry: {
@@ -34,7 +34,7 @@ module.exports = {
3434
},
3535
plugins: [
3636
new webpack.DefinePlugin({
37-
process.env.LOCAL_COMMIT_HASH: JSON.stringify(commitHash)
37+
"process.env.LOCAL_COMMIT_HASH": JSON.stringify(commitHash)
3838
}),
3939
],
4040
};

0 commit comments

Comments
 (0)