chore(storybook): switch to yarn and fix Storybook compatibility
- Switch from bun to yarn with node_modules linker - Downgrade Svelte to 5.46.1 for Storybook compatibility - Switch Storybook framework from @storybook/sveltekit to @storybook/svelte-vite - Downgrade Storybook packages to 10.1.11 - Add FSD path aliases to vite.config.ts - Add Svelte plugin to Storybook viteFinal to handle .svelte files
This commit is contained in:
@@ -7,6 +7,12 @@ export default defineConfig({
|
||||
resolve: {
|
||||
alias: {
|
||||
$lib: path.resolve("./src/shared/lib"),
|
||||
$shared: path.resolve("./src/shared"),
|
||||
$pages: path.resolve("./src/pages"),
|
||||
$features: path.resolve("./src/features"),
|
||||
$entities: path.resolve("./src/entities"),
|
||||
$widgets: path.resolve("./src/widgets"),
|
||||
"$/*": "./src/*",
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user