mirror of
https://github.com/modrinth/code.git
synced 2026-08-25 00:55:25 +00:00
* feat: refactor button components
* fix: qa
* fix: storybook
* a11y: pass
* fix: build
* fix: rename default ->md
* fix: lint
* docs: buttons.md
* refactor part 1
* refactor part 2
* fix: undo refactor for fresh restart
* refactor
* Revert "refactor"
This reverts commit 96d65902d7.
* refactor: part 1
* fix: qa
* fix: qa
* fix: qa
* fix: qa
* fix: qa
* fix: qa
* fix: qa
* fix: qa
* fix: remove text-contrast
* fix: qa
* fix: v-tooltip
* fix: lint
* fix: split broken
* fix: passkey qa
* fix: qa
* fix: qa
* fix: prepr
* fix: splitbutton
* improve button group seam
---------
Signed-off-by: Calum H. <calum@modrinth.com>
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
30 lines
669 B
TypeScript
30 lines
669 B
TypeScript
import { fileURLToPath } from 'node:url'
|
|
|
|
import type { StorybookConfig } from '@storybook/vue3-vite'
|
|
import { mergeConfig } from 'vite'
|
|
|
|
const config: StorybookConfig = {
|
|
framework: {
|
|
name: '@storybook/vue3-vite',
|
|
options: {
|
|
docgen: false,
|
|
},
|
|
},
|
|
stories: ['../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
|
|
addons: ['@storybook/addon-themes', '@storybook/addon-a11y'],
|
|
viteFinal: async (config) =>
|
|
mergeConfig(config, {
|
|
build: {
|
|
reportCompressedSize: false,
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
'@modrinth/api-client': fileURLToPath(
|
|
new URL('../../api-client/src/index.ts', import.meta.url),
|
|
),
|
|
},
|
|
},
|
|
}),
|
|
}
|
|
export default config
|