Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
ff13e0f3
Commit
ff13e0f3
authored
Mar 10, 2025
by
Johnny
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: add legacy plugin
parent
925e9788
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3740 additions
and
2552 deletions
+3740
-2552
package.json
web/package.json
+2
-0
pnpm-lock.yaml
web/pnpm-lock.yaml
+3734
-2552
vite.config.ts
web/vite.config.ts
+4
-0
No files found.
web/package.json
View file @
ff13e0f3
...
...
@@ -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"
},
...
...
web/pnpm-lock.yaml
View file @
ff13e0f3
This diff is collapsed.
Click to expand it.
web/vite.config.ts
View file @
ff13e0f3
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"
,
}),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment