You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to have 2 script files one to run stories for React component and the other to run stories for plain html and scripts. My React storybook works as charm, as soon as I installed storybook-html from npm I get error when trying to run storybook-react task.
import { configure, addDecorator } from '@storybook/react';
import { setDefaults } from '@storybook/addon-info';
// addon-info
setDefaults({
header: false, // Toggles display of header with component name and description
inline: true, // Displays info inline vs click button to view
source: true // Displays the source of story Component
});
const req = require.context('../src/stories/components', true, /\.js$/)
function loadStories() {
req.keys().forEach((filename) => req(filename))
}
configure(loadStories, module);
info @storybook/html v4.0.0-alpha.11
info
Terminate batch job (Y/N)? y
PS C:\Projects\LCA\UI> info => Loading custom addons config.
WARN => Custom configuration file C:\Projects\LCA\UI\.storybook-react\webpack.config.js is detected
WARN but impossible to import loader for .js
info => Loading custom webpack config (extending mode).
10% building modules 2/2 modules 0 activei 「wdm」: wait until bundle finished:
(node:2188) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
`
@storybook/react ^3.4.10
@storybook/html ^4.0.0-alpha.11
The text was updated successfully, but these errors were encountered:
neginbasiri
changed the title
storybook/html is affection storybook/react
storybook/html is affecting storybook/react
Aug 8, 2018
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!
storybook-html is affecting @storybook/react
I would like to have 2 script files one to run stories for React component and the other to run stories for plain html and scripts. My React storybook works as charm, as soon as I installed storybook-html from npm I get error when trying to run storybook-react task.
Running : npm run storybook-react
`
`
My config in .storybook-react
'
'
My webpack.config.js in .storybook-react
`
`
I don't even started adding files in .storybook-html and by only installing @storybook/html I got this error:
`
> [email protected] storybook-react C:\Projects\LCA\UI
> start-storybook -p 9001 -c .storybook-react
`
The text was updated successfully, but these errors were encountered: