-
-
Notifications
You must be signed in to change notification settings - Fork 783
Closed
Bug
Copy link
Description
System Info
System:
- OS: macOS 15.5
- CPU: (10) arm64 Apple M1 Pro
- Memory: 84.64 MB / 32.00 GB
- Shell: 5.9 - /opt/homebrew/bin/zsh
npmPackages:
- @rspack/cli: 1.3.6 => 1.3.6
- @rspack/core: 1.3.6 => 1.3.6
- @rspack/plugin-react-refresh: ^1.4.3 => 1.4.3
Binaries:
- Node: 20.15.1 - ~/.nvm/versions/node/v20.15.1/bin/node
- npm: 10.7.0 - ~/.nvm/versions/node/v20.15.1/bin/npm
- pnpm: 8.14.0 - ~/.nvm/versions/node/v20.15.1/bin/pnpm
Browsers:
- Chrome: 137.0.7151.120
- Edge: 137.0.3296.83
- Safari: 18.5
Details
When using the RspackOptions type from "@rspack/core", devServer.onProxyRes doesn't seem to be typed anymore (despite it functioning fine still).
Noticed this change after the 1.3.6 update. This behaviour can still be observed in version 1.3.15
Reproduce link
https://github.com/giavinh79/rspack-on-proxy-res-repro
Reproduce Steps
In fork above,
pnpm i- Navigate to
rspack.config.tsand restart TS server.onProxyResinserverProxyconstant is typed:
- Install
1.3.6for@rspack/cliand@rspack/coreand restart TS server. - Navigate back to
rspack.config.ts - No longer see intellisense for this property despite it working fine if you were to add this property
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels