import { defineConfig } from 'vite'
import uni from '@dcloudio/vite-plugin-uni'
import path from 'node:path'
// https://vitejs.dev/config/
export default defineConfig({
    base: './', // 打包的静态资源引用路径
    plugins: [uni()],
    resolve: {
        alias: {
            mocp: path.resolve(__dirname, 'src/mocp'),
            mocpStatic: path.resolve(__dirname, 'src/static/mocp')
        }
    }
})
