aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/index.umd.ts
diff options
context:
space:
mode:
authorFrancesco Agosti <francesco.agosti93@gmail.com>2018-12-01 04:36:22 +0800
committerGitHub <noreply@github.com>2018-12-01 04:36:22 +0800
commitf496096ce154e51ae0317cc91fd55d062eb6ec4f (patch)
treed1f6ea052599375e657e7354f50ecabdaa24daff /packages/instant/src/index.umd.ts
parentca22d87290fc176488fae7da3f179486340e5c79 (diff)
parentfc2055cd93a5e847947dad10073dd0d29bfb9e29 (diff)
downloaddexon-sol-tools-f496096ce154e51ae0317cc91fd55d062eb6ec4f.tar
dexon-sol-tools-f496096ce154e51ae0317cc91fd55d062eb6ec4f.tar.gz
dexon-sol-tools-f496096ce154e51ae0317cc91fd55d062eb6ec4f.tar.bz2
dexon-sol-tools-f496096ce154e51ae0317cc91fd55d062eb6ec4f.tar.lz
dexon-sol-tools-f496096ce154e51ae0317cc91fd55d062eb6ec4f.tar.xz
dexon-sol-tools-f496096ce154e51ae0317cc91fd55d062eb6ec4f.tar.zst
dexon-sol-tools-f496096ce154e51ae0317cc91fd55d062eb6ec4f.zip
Merge pull request #1348 from 0xProject/feature/instant/cdn-setup
[instant] Remove commonjs bundle, productionize UMD bundle
Diffstat (limited to 'packages/instant/src/index.umd.ts')
-rw-r--r--packages/instant/src/index.umd.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/instant/src/index.umd.ts b/packages/instant/src/index.umd.ts
index 3a8694d6a..95080f829 100644
--- a/packages/instant/src/index.umd.ts
+++ b/packages/instant/src/index.umd.ts
@@ -110,3 +110,7 @@ export const render = (config: ZeroExInstantConfig, selector: string = DEFAULT_Z
};
window.onpopstate = onPopStateHandler;
};
+
+// Write version info to the exported object for debugging
+export const GIT_SHA = process.env.GIT_SHA;
+export const NPM_VERSION = process.env.NPM_PACKAGE_VERSION;