Use JSON stringify around GIT_SHA

This commit is contained in:
fragosti 2018-07-09 16:07:16 -07:00
parent c8bb21d12d
commit a481d2ab46

View File

@ -87,7 +87,7 @@ module.exports = {
new webpack.DefinePlugin({ new webpack.DefinePlugin({
'process.env': { 'process.env': {
NODE_ENV: JSON.stringify(process.env.NODE_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. // TODO: Revert to webpack bundled version with webpack v4.