feat: 存储配置界面框架
This commit is contained in:
@@ -11,6 +11,7 @@ import { createHtmlPlugin } from "vite-plugin-html";
|
||||
import legacy from "@vitejs/plugin-legacy";
|
||||
import postcssPresetEnv from "postcss-preset-env";
|
||||
import autoprefixer from "autoprefixer";
|
||||
import { nodePolyfills } from "vite-plugin-node-polyfills";
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-expect-error
|
||||
//配置参数
|
||||
@@ -20,6 +21,7 @@ export default defineConfig(({ mode }) => {
|
||||
base: "./",
|
||||
plugins: [
|
||||
react(),
|
||||
nodePolyfills(),
|
||||
legacy({
|
||||
targets: [
|
||||
"ie >= 11",
|
||||
|
Reference in New Issue
Block a user