icejs 2.6.10, proxy not work
- Dominant language
- TypeScript
- Stars
- 18.6k
- Forks
- 2.1k
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug
build.json
`{
"publicPath": "/static/",
"vite": true,
"plugins": [
[
"build-plugin-ignore-style",
{
"libraryName": "antd"
}
]
],
"modeConfig": {
"dev": {
"publicPath": "./",
"minify": false,
"proxy": {
"/**": {
"enable": true,
"target": "http://localhost:17310"
}
}
}
}
}`
### Expected behavior
请求都访问proxy的target
### Actual behavior
请求还是打到了localhost:3333, 找不到api
### Version of ice.js
2.6.10
### Content of build.json or ice.config.mts
_No response_
### Additional context
_No response_
Contributor guide
Research direction
Start with the build.json proxy configuration shown in the issue and inspect how ice.js 2.6.10 handles the dev mode proxy when Vite is enabled. Reproduce the request behavior against the configured target and verify that requests no longer fall back to localhost:3333.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vite
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100