Skip to content

feat: add EntryChunkPlugin to handle shebang and shims #1184

feat: add EntryChunkPlugin to handle shebang and shims

feat: add EntryChunkPlugin to handle shebang and shims #1184

Triggered via pull request November 13, 2024 09:29
@fi3eworkfi3ework
synchronize #399
shebang
Status Failure
Total duration 8m 59s
Artifacts

test-ubuntu.yml

on: pull_request
Matrix: changes
Matrix: integration-e2e-ubuntu
Matrix: ut-ubuntu
Matrix: benchmark-ubuntu
Test passed or skipped
0s
Test passed or skipped
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
tests/config.test.ts > Should compose create Rsbuild config correctly > Merge Rsbuild config: packages/core/tests/config.test.ts#L196
Error: Snapshot `Should compose create Rsbuild config correctly > Merge Rsbuild config 1` mismatched - Expected + Received @@ -198,11 +198,11 @@ ], }, { "plugins": [ EntryChunkPlugin { - "enabledImportMetaUrlShim": true, + "enabledImportMetaUrlShim": false, "reactDirectives": {}, "shebangChmod": 493, "shebangEntries": {}, "shebangInjectedAssets": Set {}, }, @@ -632,11 +632,11 @@ ], }, { "plugins": [ EntryChunkPlugin { - "enabledImportMetaUrlShim": true, + "enabledImportMetaUrlShim": false, "reactDirectives": {}, "shebangChmod": 493, "shebangEntries": {}, "shebangInjectedAssets": Set {}, }, ❯ tests/config.test.ts:196:35
ut-ubuntu (18)
Process completed with exit code 1.
ut-ubuntu (20)
The job was canceled because "_18" failed.
tests/config.test.ts > Should compose create Rsbuild config correctly > Merge Rsbuild config: packages/core/tests/config.test.ts#L196
Error: Snapshot `Should compose create Rsbuild config correctly > Merge Rsbuild config 1` mismatched - Expected + Received @@ -198,11 +198,11 @@ ], }, { "plugins": [ EntryChunkPlugin { - "enabledImportMetaUrlShim": true, + "enabledImportMetaUrlShim": false, "reactDirectives": {}, "shebangChmod": 493, "shebangEntries": {}, "shebangInjectedAssets": Set {}, }, @@ -632,11 +632,11 @@ ], }, { "plugins": [ EntryChunkPlugin { - "enabledImportMetaUrlShim": true, + "enabledImportMetaUrlShim": false, "reactDirectives": {}, "shebangChmod": 493, "shebangEntries": {}, "shebangInjectedAssets": Set {}, }, ❯ tests/config.test.ts:196:35
ut-ubuntu (20)
Process completed with exit code 1.
ut-ubuntu (22)
The job was canceled because "_18" failed.
ut-ubuntu (22)
The operation was canceled.
changes (18)
Unexpected input(s) 'predicate-quantifier', valid inputs are ['token', 'working-directory', 'ref', 'base', 'filters', 'list-files', 'initial-fetch-depth']