1234567891011121314151617 |
- module.exports = {
- "stories": [
- "../src/**/*.stories.mdx",
- "../src/**/*.stories.@(js|jsx|ts|tsx)"
- ],
- /** 暴露 public 目录给到 stotrybook,作为静态资源目录 */
- "staticDirs": ['../public'],
- "addons": [
- "@storybook/addon-links",
- "@storybook/addon-essentials",
- "@storybook/addon-interactions"
- ],
- "framework": "@storybook/react",
- "core": {
- "builder": "@storybook/builder-webpack5"
- }
- }
|