-
-
Notifications
You must be signed in to change notification settings - Fork 257
Description
System Info
System:
OS: Windows 10 10.0.19045
CPU: (32) x64 Intel(R) Core(TM) i9-14900 CPU @ 3.20GHz
Memory: 6.64 GB / 63.77 GB
Binaries:
Node: 22.14.0 - ~\AppData\Local\pnpm\node.EXE
npm: 10.9.1 - ~\AppData\Local\pnpm\npm.CMD
pnpm: 10.9.0 - ~\AppData\Local\pnpm\pnpm.CMD
bun: 1.2.7 - ~.bun\bin\bun.EXE
Browsers:
Edge: Chromium (134.0.3124.93)
Details
When using the rspack development server, I am encountering an issue where a Server-Sent Events (SSE) connection is successfully established from the client to the server, but no data is being received by the client.
Reproduce link
https://github.com/Muromi-Rikka/rsbuild-sse-reproduce
Reproduce Steps
export default defineConfig({
plugins: [pluginReact(), pluginTypedCSSModules()],
source: {
define: publicVars,
},
tools: {
postcss: {
postcssOptions: {
plugins: [
tailwind,
presetMantine,
simpleVars({
variables: {
"mantine-breakpoint-xs": "36em",
"mantine-breakpoint-sm": "48em",
"mantine-breakpoint-md": "62em",
"mantine-breakpoint-lg": "75em",
"mantine-breakpoint-xl": "88em",
},
}),
],
},
},
rspack: {
plugins: [
TanStackRouterRspack({ target: "react", autoCodeSplitting: true, routeFileIgnorePattern: ".css.d.ts", routeFileIgnorePrefix: "components" }),
TurboConsole({ }),
],
},
},
server: {
proxy: {
"/api": {
target: "http://***:8081",
pathRewrite: { "^/api": "" },
},
},
},
});Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels