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
3786fb8d
Commit
3786fb8d
authored
Nov 06, 2024
by
johnnyjoy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore(dev): add code inspector plugin
parent
67c1a463
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
214 additions
and
189 deletions
+214
-189
apidocs.swagger.yaml
proto/gen/apidocs.swagger.yaml
+64
-188
package.json
web/package.json
+1
-0
pnpm-lock.yaml
web/pnpm-lock.yaml
+142
-0
vite.config.ts
web/vite.config.ts
+7
-1
No files found.
proto/gen/apidocs.swagger.yaml
View file @
3786fb8d
This diff is collapsed.
Click to expand it.
web/package.json
View file @
3786fb8d
...
...
@@ -67,6 +67,7 @@
"@typescript-eslint/parser"
:
"^7.18.0"
,
"@vitejs/plugin-react"
:
"^4.3.3"
,
"autoprefixer"
:
"^10.4.20"
,
"code-inspector-plugin"
:
"^0.17.7"
,
"eslint"
:
"^8.57.1"
,
"eslint-config-prettier"
:
"^9.1.0"
,
"eslint-plugin-prettier"
:
"^5.2.1"
,
...
...
web/pnpm-lock.yaml
View file @
3786fb8d
This diff is collapsed.
Click to expand it.
web/vite.config.ts
View file @
3786fb8d
import
react
from
"@vitejs/plugin-react"
;
import
{
codeInspectorPlugin
}
from
"code-inspector-plugin"
;
import
{
resolve
}
from
"path"
;
import
{
defineConfig
}
from
"vite"
;
...
...
@@ -10,7 +11,12 @@ if (process.env.DEV_PROXY_SERVER && process.env.DEV_PROXY_SERVER.length > 0) {
// https://vitejs.dev/config/
export
default
defineConfig
({
plugins
:
[
react
()],
plugins
:
[
react
(),
codeInspectorPlugin
({
bundler
:
"vite"
,
}),
],
server
:
{
host
:
"0.0.0.0"
,
port
:
3001
,
...
...
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