diff --git a/src/version.ts b/src/version.ts
new file mode 100644
index 0000000000000000000000000000000000000000..3558ed382793eaf355f106807c184666dff7e250
--- /dev/null
+++ b/src/version.ts
@@ -0,0 +1,3 @@
+// This file is auto-generated by the build system.
+import * as pkg from '../package.json';
+export const BundleVersion = pkg.name + '-' + pkg.version;