You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
426 B
11 lines
426 B
import { defineConfig, loadEnv } from "vite";
|
|
import vue from "@vitejs/plugin-vue";
|
|
import { baseCfg, pluginCfg } from "./vite-config";
|
|
import basicSsl from '@vitejs/plugin-basic-ssl'
|
|
export default async ({ mode }) => {
|
|
const { VITE_BASE_URL } = loadEnv(mode, `${process.cwd()}/vite-env`);
|
|
return defineConfig({
|
|
...baseCfg({ VITE_BASE_URL }),
|
|
plugins: [vue(), ...await pluginCfg({ VITE_BASE_URL }),basicSsl()],
|
|
});
|
|
};
|
|
|