mirror of
https://github.com/lingble/chatwoot.git
synced 2025-10-29 18:22:53 +00:00
- Adds `.netlify` and `.histoire` directories to `.gitignore` to prevent deployment artifacts from being committed. - Adds `collectMaxThreads: 4` to `histoire.config.ts` to optimize resource usage during Netlify deployment. Fixes #CW-5579 Co-authored-by: Cursor Agent <cursoragent@cursor.com>
45 lines
883 B
TypeScript
45 lines
883 B
TypeScript
import { defineConfig } from 'histoire';
|
|
import { HstVue } from '@histoire/plugin-vue';
|
|
|
|
export default defineConfig({
|
|
setupFile: './histoire.setup.ts',
|
|
plugins: [HstVue()],
|
|
collectMaxThreads: 4,
|
|
vite: {
|
|
server: {
|
|
port: 6179,
|
|
},
|
|
},
|
|
viteIgnorePlugins: ['vite-plugin-ruby'],
|
|
theme: {
|
|
darkClass: 'dark',
|
|
title: '@chatwoot/design',
|
|
logo: {
|
|
square: './design-system/images/logo-thumbnail.svg',
|
|
light: './design-system/images/logo.png',
|
|
dark: './design-system/images/logo-dark.png',
|
|
},
|
|
},
|
|
defaultStoryProps: {
|
|
icon: 'carbon:cube',
|
|
iconColor: '#1F93FF',
|
|
layout: {
|
|
type: 'grid',
|
|
width: '80%',
|
|
},
|
|
},
|
|
tree: {
|
|
groups: [
|
|
{
|
|
id: 'top',
|
|
title: '',
|
|
},
|
|
{
|
|
id: 'components',
|
|
title: 'Components',
|
|
include: () => true,
|
|
},
|
|
],
|
|
},
|
|
});
|