sheep/vite.config.ts

14 lines
315 B
TypeScript
Raw Normal View History

2022-09-30 01:55:16 +00:00
import vue from '@vitejs/plugin-vue'
import Unocss from 'unocss/vite'
import { defineConfig } from 'vite'
2022-09-16 10:14:04 +00:00
// https://vitejs.dev/config/
export default defineConfig({
2022-09-30 01:48:41 +00:00
plugins: [
2022-09-30 01:55:16 +00:00
vue(),
Unocss(),
2022-09-30 01:48:41 +00:00
],
2022-09-30 01:55:16 +00:00
base: "./",
// base: process.env.NODE_ENV === 'production' ? 'https://chenxch.github.io/xlegex/' : '/',
})