兼容旧浏览器
This commit is contained in:
parent
36c6e1fe4e
commit
48aabb74f4
@ -1,5 +1,5 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
||||
|
@ -32,10 +32,12 @@
|
||||
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
||||
"@typescript-eslint/parser": "^6.0.0",
|
||||
"@vitejs/plugin-react-swc": "^3.3.2",
|
||||
"@vitejs/plugin-legacy": "^4.1.1",
|
||||
"eslint": "^8.45.0",
|
||||
"eslint-config-prettier": "^9.0.0",
|
||||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
"eslint-plugin-react-refresh": "^0.4.3",
|
||||
"terser": "^5.21.0",
|
||||
"typescript": "^5.0.2",
|
||||
"vite": "^4.4.5"
|
||||
}
|
||||
|
1455
frontend/pnpm-lock.yaml
generated
1455
frontend/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -1,10 +1,14 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react-swc'
|
||||
import { join } from "path";
|
||||
import legacy from '@vitejs/plugin-legacy'
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
plugins: [
|
||||
react(),
|
||||
legacy()
|
||||
],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': join(__dirname, "src")
|
||||
|
Loading…
x
Reference in New Issue
Block a user