Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
docs: tweak Storybook configs
Browse files Browse the repository at this point in the history
  • Loading branch information
mdeanjones committed Dec 22, 2022
1 parent b3d04ad commit 05a0385
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .storybook/preview-body.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
<link rel="stylesheet" href="css/preview-body.css"/>
<script src="js/preview-body.js"></script>

<div id="root">
<div id="ui-positioning-root"></div>
</div>
10 changes: 10 additions & 0 deletions ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@ module.exports = function (defaults) {
out: null,
json: './dist/docs/index.json',
},

'ember-cli-storybook': {
enableAddonDocsIntegration: false,
},

addons: {
blacklist: [
process.env.STORYBOOK === 'true' ? undefined : '@storybook/ember-cli-storybook',
].filter(Boolean),
},
});

app.import('node_modules/bootstrap3/dist/css/bootstrap.css');
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,5 +161,8 @@
"volta": {
"node": "18.12.1",
"npm": "8.19.2"
},
"storybook": {
"ignoreTestFiles": true
}
}

0 comments on commit 05a0385

Please sign in to comment.