mirror of
https://github.com/pure-admin/pure-admin-thin.git
synced 2025-12-17 07:40:34 +08:00
feat: 开启HTTPS
This commit is contained in:
@@ -11,6 +11,7 @@ import removeConsole from "vite-plugin-remove-console";
|
||||
import themePreprocessorPlugin from "@pureadmin/theme";
|
||||
import DefineOptions from "unplugin-vue-define-options/vite";
|
||||
import { genScssMultipleScopeVars } from "../src/layout/theme";
|
||||
import mkcert from "vite-plugin-mkcert";
|
||||
|
||||
export function getPluginsList(
|
||||
command: string,
|
||||
@@ -53,6 +54,7 @@ export function getPluginsList(
|
||||
// 打包分析
|
||||
lifecycle === "report"
|
||||
? visualizer({ open: true, brotliSize: true, filename: "report.html" })
|
||||
: null
|
||||
: null,
|
||||
mkcert()
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user