Use JSON stringify around GIT_SHA
This commit is contained in:
@@ -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.
|
||||||
|
Reference in New Issue
Block a user