Skip to content

Commit af3ecd8

Browse files
committed
fix: resolved conflict
1 parent 4f3d0ef commit af3ecd8

File tree

3 files changed

+7
-26
lines changed

3 files changed

+7
-26
lines changed

config/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export default defineConfig(({ mode }) => {
124124

125125
## Debugging the Config File on VS Code
126126

127-
With the default `--configLoader bundle` behavior, Vite writes the generated temporary configuration file to the `node_modules/.vite-temp` folder and a file not found error will occur when setting breakpoint debugging in the Vite config file. To fix the issue, add the following configuration to `.vscode/settings.json`:
127+
在默认的 `--configLoader bundle` 行为下,Vite 会将生成的临时配置文件写入 `node_modules/.vite-temp` 文件夹,在 Vite 配置文件中设置断点调试时会出现文件未找到的错误。要修复该问题,请在 `.vscode/settings.json` 中添加以下配置:
128128

129129
```json
130130
{

package.json

+1-20
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
<<<<<<< HEAD
32
"name": "vite-docs-cn",
43
"version": "1.0.0",
54
"description": "Vite.js documentation Chinese translation.",
@@ -13,7 +12,7 @@
1312
"@types/express": "^4.17.21",
1413
"feed": "^4.2.2",
1514
"vitepress": "^1.6.3",
16-
"vitepress-plugin-group-icons": "^1.3.6",
15+
"vitepress-plugin-group-icons": "^1.3.7",
1716
"vue": "^3.5.13",
1817
"@types/node": "^20.9.2",
1918
"@type-challenges/utils": "^0.1.1",
@@ -33,22 +32,4 @@
3332
"gitHooks": {
3433
"commit-msg": "node scripts/verifyCommit.js"
3534
}
36-
=======
37-
"name": "docs",
38-
"private": true,
39-
"type": "module",
40-
"scripts": {
41-
"docs": "vitepress dev",
42-
"docs-build": "vitepress build",
43-
"docs-serve": "vitepress serve"
44-
},
45-
"devDependencies": {
46-
"@shikijs/vitepress-twoslash": "^2.5.0",
47-
"@types/express": "^4.17.21",
48-
"feed": "^4.2.2",
49-
"vitepress": "^1.6.3",
50-
"vitepress-plugin-group-icons": "^1.3.7",
51-
"vue": "^3.5.13"
52-
}
53-
>>>>>>> 421e971fd16a72efed9acdfc584773c6f950d495
5435
}

pnpm-lock.yaml

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)