mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
chore: refactoring toast
This commit is contained in:
parent
f81e4ac5b5
commit
b86746287f
15 changed files with 1602 additions and 98 deletions
31
.storybook/main.ts
Normal file
31
.storybook/main.ts
Normal file
|
@ -0,0 +1,31 @@
|
|||
import { resolve } from "path";
|
||||
import type { StorybookConfig } from "@storybook/react-vite";
|
||||
import { vanillaExtractPlugin } from "@vanilla-extract/vite-plugin";
|
||||
|
||||
const config: StorybookConfig = {
|
||||
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
|
||||
addons: [
|
||||
"@storybook/addon-onboarding",
|
||||
"@storybook/addon-essentials",
|
||||
"@chromatic-com/storybook",
|
||||
"@storybook/addon-interactions",
|
||||
],
|
||||
framework: {
|
||||
name: "@storybook/react-vite",
|
||||
options: {},
|
||||
},
|
||||
viteFinal: (config) => {
|
||||
return {
|
||||
...config,
|
||||
resolve: {
|
||||
alias: {
|
||||
"@renderer": resolve("src/renderer/src"),
|
||||
"@locales": resolve("src/locales"),
|
||||
"@shared": resolve("src/shared"),
|
||||
},
|
||||
},
|
||||
plugins: [...config.plugins, vanillaExtractPlugin()],
|
||||
};
|
||||
},
|
||||
};
|
||||
export default config;
|
Loading…
Add table
Add a link
Reference in a new issue