mirror of
https://github.com/gotson/komga.git
synced 2026-05-08 12:35:30 +02:00
vite config for ts components
This commit is contained in:
parent
9a5e240690
commit
bab8e88843
1 changed files with 3 additions and 1 deletions
|
|
@ -39,7 +39,9 @@ export default defineConfig({
|
|||
Components({
|
||||
dts: 'src/components.d.ts',
|
||||
dirs: ['src/components', 'src/fragments'],
|
||||
globsExclude: ['src/**/*.stories.vue'],
|
||||
extensions: ['vue', 'ts'],
|
||||
include: [/\.vue$/, /\.[tj]s$/],
|
||||
globsExclude: ['src/**/*.stories.*'],
|
||||
directoryAsNamespace: true,
|
||||
collapseSamePrefixes: true,
|
||||
}),
|
||||
|
|
|
|||
Loading…
Reference in a new issue