aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/webpack.config.js
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-07-10 07:07:16 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-07-10 07:07:16 +0800
commita481d2ab46fcc5ef1a0b843f991ba66175eb12ed (patch)
treeff079e4f02615cb33e78078067306e299d52c145 /packages/website/webpack.config.js
parentc8bb21d12d6acb3fa76a8d3b22b1cbab3ea63ef8 (diff)
downloaddexon-sol-tools-a481d2ab46fcc5ef1a0b843f991ba66175eb12ed.tar.gz
dexon-sol-tools-a481d2ab46fcc5ef1a0b843f991ba66175eb12ed.tar.zst
dexon-sol-tools-a481d2ab46fcc5ef1a0b843f991ba66175eb12ed.zip
Use JSON stringify around GIT_SHA
Diffstat (limited to 'packages/website/webpack.config.js')
-rw-r--r--packages/website/webpack.config.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/webpack.config.js b/packages/website/webpack.config.js
index 1326769e3..89e6e1fd7 100644
--- a/packages/website/webpack.config.js
+++ b/packages/website/webpack.config.js
@@ -87,7 +87,7 @@ module.exports = {
new webpack.DefinePlugin({
'process.env': {
NODE_ENV: JSON.stringify(process.env.NODE_ENV),
- GIT_SHA: GIT_SHA,
+ GIT_SHA: JSON.stringify(GIT_SHA),
},
}),
// TODO: Revert to webpack bundled version with webpack v4.