diff --git a/src/index.html b/src/index.html index 10ee441..76bfdb5 100644 --- a/src/index.html +++ b/src/index.html @@ -56,6 +56,8 @@

SHORTCUTS

diff --git a/src/index.js b/src/index.js index 2ddf60c..08c8596 100644 --- a/src/index.js +++ b/src/index.js @@ -1,3 +1,7 @@ import Morphaweb from './Morphaweb' +import version from 'bundle-text:../assets/VERSION.txt' -const morphaweb = new Morphaweb() \ No newline at end of file +const morphaweb = new Morphaweb() + +const versionElement = document.getElementById('version') +versionElement.textContent = version \ No newline at end of file