docs(bot): 📝 new desing

This commit is contained in:
Leifer Mendez
2022-12-14 20:35:58 +01:00
parent c868f73462
commit 7c8742735c
61 changed files with 4908 additions and 1144 deletions

View File

@@ -1,15 +1,33 @@
import { defineConfig } from 'vite'
import { qwikVite } from '@builder.io/qwik/optimizer'
import { qwikCity } from '@builder.io/qwik-city/vite'
import { imagetools } from 'vite-imagetools'
import tsconfigPaths from 'vite-tsconfig-paths'
import { SITE } from './src/config.mjs'
const path = require('path')
export default defineConfig(() => {
return {
plugins: [qwikCity(), qwikVite(), tsconfigPaths()],
plugins: [
qwikCity({
basePathname: SITE.basePathname,
trailingSlash: SITE.trailingSlash,
}),
qwikVite(),
tsconfigPaths(),
imagetools(),
],
preview: {
headers: {
'Cache-Control': 'public, max-age=600',
},
},
resolve: {
alias: {
'~': path.resolve(__dirname, './src'),
},
},
}
})