diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-11-29 08:36:52 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-11-29 08:36:52 +0800 |
commit | 76259352229881287a94cb561f82498920de5443 (patch) | |
tree | 09bd604f3d9fb3ef941618e25747b01cbae38133 /packages/instant/src/util | |
parent | 8b05db35104bf6853bdec81b2a1f25b16914608f (diff) | |
download | dexon-sol-tools-76259352229881287a94cb561f82498920de5443.tar dexon-sol-tools-76259352229881287a94cb561f82498920de5443.tar.gz dexon-sol-tools-76259352229881287a94cb561f82498920de5443.tar.bz2 dexon-sol-tools-76259352229881287a94cb561f82498920de5443.tar.lz dexon-sol-tools-76259352229881287a94cb561f82498920de5443.tar.xz dexon-sol-tools-76259352229881287a94cb561f82498920de5443.tar.zst dexon-sol-tools-76259352229881287a94cb561f82498920de5443.zip |
feat: write version info directly to exported object
Diffstat (limited to 'packages/instant/src/util')
-rw-r--r-- | packages/instant/src/util/version.ts | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/packages/instant/src/util/version.ts b/packages/instant/src/util/version.ts deleted file mode 100644 index 5264cd659..000000000 --- a/packages/instant/src/util/version.ts +++ /dev/null @@ -1,8 +0,0 @@ -const anyWindow = window as any; - -export const versionUtil = { - writeVersionInfoToWindow: () => { - anyWindow.__zeroExInstantGitSha = process.env.GIT_SHA; - anyWindow.__zeroExInstantNpmVersion = process.env.NPM_PACKAGE_VERSION; - }, -}; |