-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9492 from storybookjs/9490-fix-source-loader-imports
Source-loader: Add imports to top of file
- Loading branch information
Showing
5 changed files
with
18 additions
and
143 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
examples/official-storybook/stories/core/interleaved-exports.stories.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* eslint-disable import/first,import/no-duplicates */ | ||
import React from 'react'; | ||
import { action } from '@storybook/addon-actions'; | ||
|
||
export default { | ||
title: 'Core/Interleaved exports', | ||
parameters: { chromatic: { disable: true } }, | ||
}; | ||
|
||
import { Welcome } from '@storybook/react/demo'; | ||
|
||
export const First = () => <Welcome showApp={action('show')} />; | ||
|
||
import { Button } from '@storybook/react/demo'; | ||
|
||
export const Second = () => <Button onClick={action('click')}>Second</Button>; |
50 changes: 0 additions & 50 deletions
50
lib/source-loader/src/server/__snapshots__/build.test.js.snap
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
66c524f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to following URLs: