IT4C.dev/docs/.vuepress/config.ts
Ulf Gebhardt d6be15ce0d
feat(other): eslint & prettier (#302)
* eslint

* eslint fixes

* fix footer

* install prettier

* fix prettier
2025-03-20 20:11:16 +01:00

47 lines
927 B
TypeScript

import { viteBundler } from '@vuepress/bundler-vite'
import Imagemin from 'vuepress-plugin-imagemin'
import { defineUserConfig } from 'vuepress'
import meta from './config/meta'
import theme from './config/theme'
import tailwindcss from '@tailwindcss/vite'
export default defineUserConfig({
lang: 'de-DE',
...meta,
theme,
bundler: viteBundler({
viteOptions: {
plugins: [tailwindcss()],
},
}),
plugins: [
Imagemin({
gifsicle: {
optimizationLevel: 7,
interlaced: false,
},
optipng: {
optimizationLevel: 7,
},
mozjpeg: {
quality: 100,
},
pngquant: {
quality: [0.8, 0.9],
speed: 4,
},
svgo: {
plugins: [
{
name: 'removeViewBox',
},
{
name: 'removeEmptyAttrs',
active: false,
},
],
},
}),
],
})