mirror of
https://github.com/Safe-Support-Chat/ocrcc-chatbox
synced 2024-11-22 10:44:54 +00:00
02d52921ad
* adding storybook * update webpack config * Update package.json * udpating build script
10 lines
280 B
JavaScript
10 lines
280 B
JavaScript
import { configure } from '@storybook/react';
|
|
|
|
// automatically import all files ending in *.stories.js
|
|
const req = require.context('../stories', true, /\.stories\.js$/);
|
|
function loadStories() {
|
|
req.keys().forEach(filename => req(filename));
|
|
}
|
|
|
|
configure(loadStories, module);
|