saleor-apps-redis_apl/packages/react-hook-form-macaw/.storybook/main.ts
Lukasz Ostrowski aa6fec183d
Update Macaw and bindings to pre-106 (#791)
* Bump macaw UI

* Adjust rhf-macaw binding to use new macaw API

* Adjust CRM to use new macaw api

* adjust apps to work with new macaw

* Update combo box

* fix combobox value
2023-07-24 16:45:45 +02:00

30 lines
672 B
TypeScript

import { mergeConfig } from "vite";
export default {
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],
addons: [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-interactions",
],
framework: {
name: "@storybook/react-vite",
options: {},
},
// This causes a build error TODO:
// staticDirs: [
// {
// from: "../public",
// to: "/assets",
// },
// "./public",
// ],
features: {
storyStoreV7: true,
},
async viteFinal(config) {
return mergeConfig(config, {
plugins: [require("@vanilla-extract/vite-plugin").vanillaExtractPlugin()],
});
},
};