diff --git a/.storybook/main.js b/.storybook/main.js index 9fa12a9..21445a9 100644 --- a/.storybook/main.js +++ b/.storybook/main.js @@ -2,7 +2,7 @@ const path = require("path"); const preprocess = require("svelte-preprocess"); module.exports = { - // core: { builder: "storybook-builder-vite" }, + // core: { builder: "storybook-builder-vite" }, staticDirs: ["../static", "../pictures"], stories: [ "../src/**/*.stories.mdx", @@ -22,6 +22,8 @@ module.exports = { config.resolve.alias.$lib = path.resolve(__dirname, "../src/lib/"); config.resolve.alias.$app = path.resolve(__dirname, "../fake/app/"); + config.resolve.dedupe = ["@storybook/client-api"]; + // return the customized config return config; },