Skip to content

Commit

Permalink
feat: add storybook version to output (#621)
Browse files Browse the repository at this point in the history
This adds the storybook version to the generated storybook.
  • Loading branch information
joscha authored and arunoda committed Nov 19, 2016
1 parent c8a6412 commit 0c4eafb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/server/index.html.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import url from 'url';
import { version } from '../../package.json';

// assets.manager will be:
// - undefined
Expand Down Expand Up @@ -37,6 +38,7 @@ export default function (data) {
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="storybook-version" content="${version}">
<title>React Storybook</title>
<style>
/*
Expand Down

0 comments on commit 0c4eafb

Please sign in to comment.