mirror of
https://github.com/hanzoai/cd-ui.git
synced 2026-10-30 20:42:45 +00:00
Signed-off-by: Jonathan Winters <[email protected]> Co-authored-by: Claude Sonnet 4.6 <[email protected]>
23 lines
657 B
JavaScript
23 lines
657 B
JavaScript
const path = require('path');
|
|
|
|
module.exports = {
|
|
stories: ['../components/**/*.stories.tsx'],
|
|
addons: ['@storybook/addon-essentials', '@storybook/addon-webpack5-compiler-swc'],
|
|
framework: {
|
|
name: '@storybook/react-webpack5',
|
|
options: {},
|
|
},
|
|
webpackFinal: async (config, {configType}) => {
|
|
config.module.rules.push({
|
|
test: /\.scss$/,
|
|
use: ['style-loader', 'css-loader', 'sass-loader'],
|
|
include: path.resolve(__dirname, '../'),
|
|
});
|
|
return config;
|
|
},
|
|
managerHead: (head) => `
|
|
${head}
|
|
<link rel="icon" href="/argo-favicon.png" />
|
|
`,
|
|
};
|