去掉 legacy
This commit is contained in:
@@ -6,9 +6,6 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>徐越的判题狗</title>
|
<title>徐越的判题狗</title>
|
||||||
<link rel="stylesheet" href="/style.css" />
|
<link rel="stylesheet" href="/style.css" />
|
||||||
<script>
|
|
||||||
this.globalThis || (this.globalThis = window)
|
|
||||||
</script>
|
|
||||||
<script
|
<script
|
||||||
async
|
async
|
||||||
defer
|
defer
|
||||||
|
|||||||
1986
package-lock.json
generated
1986
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -34,11 +34,9 @@
|
|||||||
"@shikijs/markdown-it": "^1.22.0",
|
"@shikijs/markdown-it": "^1.22.0",
|
||||||
"@types/canvas-confetti": "^1.6.4",
|
"@types/canvas-confetti": "^1.6.4",
|
||||||
"@types/node": "^22.7.5",
|
"@types/node": "^22.7.5",
|
||||||
"@vitejs/plugin-legacy": "^5.4.2",
|
|
||||||
"@vitejs/plugin-vue": "^5.1.4",
|
"@vitejs/plugin-vue": "^5.1.4",
|
||||||
"prettier": "^3.3.3",
|
"prettier": "^3.3.3",
|
||||||
"prettier-plugin-organize-imports": "^4.1.0",
|
"prettier-plugin-organize-imports": "^4.1.0",
|
||||||
"terser": "^5.34.1",
|
|
||||||
"typescript": "^5.6.3",
|
"typescript": "^5.6.3",
|
||||||
"unplugin-auto-import": "^0.18.3",
|
"unplugin-auto-import": "^0.18.3",
|
||||||
"unplugin-vue-components": "^0.27.4",
|
"unplugin-vue-components": "^0.27.4",
|
||||||
|
|||||||
1
src/components.d.ts
vendored
1
src/components.d.ts
vendored
@@ -56,7 +56,6 @@ declare module 'vue' {
|
|||||||
NTabPane: typeof import('naive-ui')['NTabPane']
|
NTabPane: typeof import('naive-ui')['NTabPane']
|
||||||
NTabs: typeof import('naive-ui')['NTabs']
|
NTabs: typeof import('naive-ui')['NTabs']
|
||||||
NTag: typeof import('naive-ui')['NTag']
|
NTag: typeof import('naive-ui')['NTag']
|
||||||
NText: typeof import('naive-ui')['NText']
|
|
||||||
NTooltip: typeof import('naive-ui')['NTooltip']
|
NTooltip: typeof import('naive-ui')['NTooltip']
|
||||||
NUpload: typeof import('naive-ui')['NUpload']
|
NUpload: typeof import('naive-ui')['NUpload']
|
||||||
RouterLink: typeof import('vue-router')['RouterLink']
|
RouterLink: typeof import('vue-router')['RouterLink']
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
import legacy from "@vitejs/plugin-legacy"
|
|
||||||
import Vue from "@vitejs/plugin-vue"
|
import Vue from "@vitejs/plugin-vue"
|
||||||
import Shiki from "@shikijs/markdown-it"
|
import Shiki from "@shikijs/markdown-it"
|
||||||
import path from "path"
|
import path from "path"
|
||||||
@@ -23,7 +22,7 @@ export default defineConfig({
|
|||||||
manualChunks: {
|
manualChunks: {
|
||||||
chart: ["vue-chartjs", "chart.js"],
|
chart: ["vue-chartjs", "chart.js"],
|
||||||
editor: ["@wangeditor/editor"],
|
editor: ["@wangeditor/editor"],
|
||||||
codemirror: [
|
cm: [
|
||||||
"vue-codemirror",
|
"vue-codemirror",
|
||||||
"codemirror",
|
"codemirror",
|
||||||
"@codemirror/lang-cpp",
|
"@codemirror/lang-cpp",
|
||||||
@@ -43,8 +42,7 @@ export default defineConfig({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
Vue({include: [/\.vue$/, /\.md$/]}),,
|
Vue({include: [/\.vue$/, /\.md$/]}),
|
||||||
legacy({ targets: ["chrome 66", "not IE 11"] }),
|
|
||||||
AutoImport({
|
AutoImport({
|
||||||
imports: [
|
imports: [
|
||||||
"vue",
|
"vue",
|
||||||
|
|||||||
Reference in New Issue
Block a user