mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-19 12:09:15 +00:00
docs(bot): 📝 new desing
This commit is contained in:
@@ -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'),
|
||||
},
|
||||
},
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user