Skip to content

Commit dd63537

Browse files
committed
Add missing asset path to storybook-deployer
1 parent 2cad782 commit dd63537

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ npm-debug.log*
1717
yarn-debug.log*
1818
yarn-error.log*
1919

20+
storybook-static

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"build": "tsc",
2727
"test": "react-scripts-ts test --env=jsdom",
2828
"storybook": "start-storybook -p 6006 -s ./stories/assets",
29-
"build-storybook": "build-storybook",
29+
"build-storybook": "build-storybook -s ./stories/assets",
3030
"deploy-storybook": "storybook-to-ghpages"
3131
},
3232
"storybook-deployer": {

stories/helpers/container/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export class StoryContainer extends Component<StoryContainerProps, StoryContaine
4040
return (
4141
<Wrapper>
4242
<Audio
43-
src="./music.mp3"
43+
src="/music.mp3"
4444
loop={true}
4545
controls={true}
4646
innerRef={this.getAudioElement}

0 commit comments

Comments
 (0)