Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"@biomejs/biome": "^1.8.3",
"@jest/reporters": "29.7.0",
"@jest/test-sequencer": "^29.7.0",
"@rspack/core": "1.4.1",
"@rspack/core": "npm:@rspack-canary/core@1.4.3-canary-98b815e4-20250703091256",
"@rspack/plugin-react-refresh": "1.0.0",
"@types/express": "4.17.21",
"@types/jest": "29.5.12",
Expand Down
106 changes: 53 additions & 53 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

90 changes: 10 additions & 80 deletions tests/e2e/__snapshots__/logging.test.js.snap.webpack5
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,7 @@ exports[`logging should work and log errors by default (sockjs) 1`] = `
Hey.,
[webpack-dev-server] Errors while compiling. Reload prevented.,
[webpack-dev-server] ERROR
× Error: Error from compilation
│ at <root>/tests/e2e/logging.test.js:<line>:<row>
│ at Object.fn (<rspack>/dist/index.js:<line>:<row>)
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
│ at <rspack>/dist/index.js:<line>:<row>
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
× Error from compilation
,
]
`;
Expand All @@ -40,14 +33,7 @@ exports[`logging should work and log errors by default (ws) 1`] = `
Hey.,
[webpack-dev-server] Errors while compiling. Reload prevented.,
[webpack-dev-server] ERROR
× Error: Error from compilation
│ at <root>/tests/e2e/logging.test.js:<line>:<row>
│ at Object.fn (<rspack>/dist/index.js:<line>:<row>)
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
│ at <rspack>/dist/index.js:<line>:<row>
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
× Error from compilation
,
]
`;
Expand Down Expand Up @@ -135,14 +121,7 @@ exports[`logging should work and log only error (sockjs) 1`] = `
Hey.,
[webpack-dev-server] Errors while compiling. Reload prevented.,
[webpack-dev-server] ERROR
× Error: Error from compilation
│ at <root>/tests/e2e/logging.test.js:<line>:<row>
│ at Object.fn (<rspack>/dist/index.js:<line>:<row>)
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
│ at <rspack>/dist/index.js:<line>:<row>
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
× Error from compilation
,
]
`;
Expand All @@ -152,14 +131,7 @@ exports[`logging should work and log only error (ws) 1`] = `
Hey.,
[webpack-dev-server] Errors while compiling. Reload prevented.,
[webpack-dev-server] ERROR
× Error: Error from compilation
│ at <root>/tests/e2e/logging.test.js:<line>:<row>
│ at Object.fn (<rspack>/dist/index.js:<line>:<row>)
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
│ at <rspack>/dist/index.js:<line>:<row>
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
× Error from compilation
,
]
`;
Expand Down Expand Up @@ -193,25 +165,11 @@ exports[`logging should work and log warning and errors (sockjs) 1`] = `
Hey.,
[webpack-dev-server] Warnings while compiling.,
[webpack-dev-server] WARNING
⚠ Error: Warning from compilation
│ at <root>/tests/e2e/logging.test.js:<line>:<row>
│ at Object.fn (<rspack>/dist/index.js:<line>:<row>)
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
│ at <rspack>/dist/index.js:<line>:<row>
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
⚠ Warning from compilation
,
[webpack-dev-server] Errors while compiling. Reload prevented.,
[webpack-dev-server] ERROR
× Error: Error from compilation
│ at <root>/tests/e2e/logging.test.js:<line>:<row>
│ at Object.fn (<rspack>/dist/index.js:<line>:<row>)
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
│ at <rspack>/dist/index.js:<line>:<row>
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
× Error from compilation
,
]
`;
Expand All @@ -221,25 +179,11 @@ exports[`logging should work and log warning and errors (ws) 1`] = `
Hey.,
[webpack-dev-server] Warnings while compiling.,
[webpack-dev-server] WARNING
⚠ Error: Warning from compilation
│ at <root>/tests/e2e/logging.test.js:<line>:<row>
│ at Object.fn (<rspack>/dist/index.js:<line>:<row>)
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
│ at <rspack>/dist/index.js:<line>:<row>
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
⚠ Warning from compilation
,
[webpack-dev-server] Errors while compiling. Reload prevented.,
[webpack-dev-server] ERROR
× Error: Error from compilation
│ at <root>/tests/e2e/logging.test.js:<line>:<row>
│ at Object.fn (<rspack>/dist/index.js:<line>:<row>)
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
│ at <rspack>/dist/index.js:<line>:<row>
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
× Error from compilation
,
]
`;
Expand All @@ -251,14 +195,7 @@ exports[`logging should work and log warnings by default (sockjs) 1`] = `
Hey.,
[webpack-dev-server] Warnings while compiling.,
[webpack-dev-server] WARNING
⚠ Error: Warning from compilation
│ at <root>/tests/e2e/logging.test.js:<line>:<row>
│ at Object.fn (<rspack>/dist/index.js:<line>:<row>)
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
│ at <rspack>/dist/index.js:<line>:<row>
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
⚠ Warning from compilation
,
]
`;
Expand All @@ -270,14 +207,7 @@ exports[`logging should work and log warnings by default (ws) 1`] = `
Hey.,
[webpack-dev-server] Warnings while compiling.,
[webpack-dev-server] WARNING
⚠ Error: Warning from compilation
│ at <root>/tests/e2e/logging.test.js:<line>:<row>
│ at Object.fn (<rspack>/dist/index.js:<line>:<row>)
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
│ at <rspack>/dist/index.js:<line>:<row>
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
⚠ Warning from compilation
,
]
`;
Expand Down
Loading