mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: add legacy plugin
This commit is contained in:
@@ -65,6 +65,7 @@
|
||||
"@types/uuid": "^10.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
||||
"@typescript-eslint/parser": "^7.18.0",
|
||||
"@vitejs/plugin-legacy": "^6.0.2",
|
||||
"@vitejs/plugin-react": "^4.3.4",
|
||||
"autoprefixer": "^10.4.20",
|
||||
"code-inspector-plugin": "^0.18.3",
|
||||
@@ -77,6 +78,7 @@
|
||||
"postcss": "^8.5.3",
|
||||
"prettier": "^3.5.2",
|
||||
"protobufjs": "^7.4.0",
|
||||
"terser": "^5.39.0",
|
||||
"typescript": "^5.8.2",
|
||||
"vite": "^6.2.0"
|
||||
},
|
||||
|
1192
web/pnpm-lock.yaml
generated
1192
web/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -1,3 +1,4 @@
|
||||
import legacy from "@vitejs/plugin-legacy";
|
||||
import react from "@vitejs/plugin-react";
|
||||
import { codeInspectorPlugin } from "code-inspector-plugin";
|
||||
import { resolve } from "path";
|
||||
@@ -13,6 +14,9 @@ if (process.env.DEV_PROXY_SERVER && process.env.DEV_PROXY_SERVER.length > 0) {
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
react(),
|
||||
legacy({
|
||||
targets: ["defaults", "not IE 11"],
|
||||
}),
|
||||
codeInspectorPlugin({
|
||||
bundler: "vite",
|
||||
}),
|
||||
|
Reference in New Issue
Block a user