mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-06 18:36:55 +08:00
add rtc feature, set payment page to wip state
This commit is contained in:
@@ -5,31 +5,34 @@ import path from 'path'
|
||||
import { defineConfig } from 'vite'
|
||||
import svgLoader from 'vite-svg-loader'
|
||||
import Markdown from 'unplugin-vue-markdown/vite'
|
||||
import caddyTls from './plugins/vite-plugin-caddy'
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
vue({
|
||||
script: {
|
||||
propsDestructure: true,
|
||||
defineModel: true,
|
||||
defineModel: true
|
||||
},
|
||||
include: [/\.vue$/, /\.md$/],
|
||||
include: [/\.vue$/, /\.md$/]
|
||||
}),
|
||||
svgLoader(),
|
||||
vueJsx(),
|
||||
Markdown({
|
||||
/* options */
|
||||
}),
|
||||
caddyTls()
|
||||
],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': path.resolve(__dirname, 'src'),
|
||||
},
|
||||
'@': path.resolve(__dirname, 'src')
|
||||
}
|
||||
},
|
||||
define: {
|
||||
'process.env': {},
|
||||
global: 'window'
|
||||
},
|
||||
optimizeDeps: {
|
||||
include: ['@vicons/fluent', '@vicons/ionicons5', 'vue', 'vue-router'],
|
||||
},
|
||||
include: ['@vicons/fluent', '@vicons/ionicons5', 'vue', 'vue-router']
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user