mirror of
https://github.com/modrinth/code.git
synced 2026-08-25 00:55:25 +00:00
feat: add Ears mod support to skin selector (#6775)
* feat: add Ears mod support to skin selector * fix: lint * feat: ears mod notice + toggle + fix uv issues * fix: lint
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
import path from 'node:path'
|
||||
import { fileURLToPath } from 'node:url'
|
||||
|
||||
import type { StorybookConfig } from '@storybook/vue3-vite'
|
||||
import { mergeConfig } from 'vite'
|
||||
|
||||
const storybookDirectory = path.dirname(fileURLToPath(import.meta.url))
|
||||
|
||||
const config: StorybookConfig = {
|
||||
framework: {
|
||||
name: '@storybook/vue3-vite',
|
||||
@@ -16,7 +19,7 @@ const config: StorybookConfig = {
|
||||
mergeConfig(config, {
|
||||
resolve: {
|
||||
alias: {
|
||||
'@modrinth/api-client': path.resolve(__dirname, '../../api-client/src/index.ts'),
|
||||
'@modrinth/api-client': path.resolve(storybookDirectory, '../../api-client/src/index.ts'),
|
||||
},
|
||||
},
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user