diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-17 02:19:16 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-17 02:19:16 +0800 |
commit | 42565869a452fcf2f498a3ff396f76c43aadfa29 (patch) | |
tree | 728dc9b484969c28ba4ee199ff45627649a417a4 /packages/instant/webpack.config.js | |
parent | 85a99203d0e85698aaaee25cdbf516175f1cb6e0 (diff) | |
download | dexon-sol-tools-42565869a452fcf2f498a3ff396f76c43aadfa29.tar.gz dexon-sol-tools-42565869a452fcf2f498a3ff396f76c43aadfa29.tar.zst dexon-sol-tools-42565869a452fcf2f498a3ff396f76c43aadfa29.zip |
Report on git sha and npm version of build
Diffstat (limited to 'packages/instant/webpack.config.js')
-rw-r--r-- | packages/instant/webpack.config.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/instant/webpack.config.js b/packages/instant/webpack.config.js index 129092d70..43c149b3e 100644 --- a/packages/instant/webpack.config.js +++ b/packages/instant/webpack.config.js @@ -23,7 +23,8 @@ module.exports = { 'process.env': { NODE_ENV: JSON.stringify(process.env.NODE_ENV), GIT_SHA: JSON.stringify(GIT_SHA), - ENABLE_HEAP: process.env.ENABLE_HEAP, + ENABLE_HEAP: JSON.stringify(process.env.ENABLE_HEAP), + NPM_PACKAGE_VERSION: JSON.stringify(process.env.npm_package_version), }, }), ], |