Browse Source

Merge pull request #20 from rollup/version-in-ui

Show the current Rollup version in the UI
master
Rich Harris 9 years ago
parent
commit
2db7d8db8a
  1. 2
      src/app/main.js
  2. 2
      src/files/index.html

2
src/app/main.js

@ -9,6 +9,8 @@ import debounce from './utils/debounce';
const supported = !!window.Promise;
if ( supported ) {
document.querySelector('header h1 small').innerHTML = `v${rollup.VERSION}`;
console.log( `running Rollup version %c${rollup.VERSION}`, 'font-weight: bold' );
// recover state from hash fragment

2
src/files/index.html

@ -14,7 +14,7 @@
<body>
<header>
<h1>rollup.js</h1>
<h1>rollup.js <small style="font-size:small;opacity:.7;"></small></h1>
<small>the next-generation JavaScript module bundler</small>
<a class='github' href='https://github.com/rollup/rollup'>GitHub</a>

Loading…
Cancel
Save