feat(metadata): add cover extraction for epub, mobi, cbz, and pdf

This commit is contained in:
neon
2025-12-22 14:37:28 -06:00
parent b1edd98256
commit b4ee0cb90c
115 changed files with 26832 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
import { fileURLToPath } from 'node:url'
import { mergeConfig, defineConfig, configDefaults } from 'vitest/config'
import viteConfig from './vite.config'
export default mergeConfig(
viteConfig,
defineConfig({
test: {
environment: 'jsdom',
exclude: [...configDefaults.exclude, 'e2e/**'],
root: fileURLToPath(new URL('./', import.meta.url)),
},
}),
)