mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-29 22:01:49 +03:00
4c2635670b
fixes https://github.com/TryGhost/Team/issues/3275 fixes https://github.com/TryGhost/Team/issues/3279 fixes https://github.com/TryGhost/Team/issues/3278 This pull request adds a new signup form package to the Ghost core repository. The signup form package is a React component, embeddable on any site, that renders a form for users to subscribe to a Ghost site.
28 lines
632 B
TypeScript
28 lines
632 B
TypeScript
import type { StorybookConfig } from "@storybook/react-vite";
|
|
const config: StorybookConfig = {
|
|
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],
|
|
addons: [
|
|
"@storybook/addon-links",
|
|
"@storybook/addon-essentials",
|
|
"@storybook/addon-interactions",
|
|
{
|
|
name: '@storybook/addon-styling',
|
|
},
|
|
],
|
|
framework: {
|
|
name: "@storybook/react-vite",
|
|
options: {},
|
|
},
|
|
docs: {
|
|
autodocs: "tag",
|
|
},
|
|
// staticDirs: ['../public/fonts'],
|
|
async viteFinal(config, options) {
|
|
config.resolve.alias = {
|
|
crypto: require.resolve('rollup-plugin-node-builtins'),
|
|
}
|
|
return config;
|
|
},
|
|
};
|
|
export default config;
|