feat: add EntryChunkPlugin to handle shebang and shims #1184
test-ubuntu.yml
on: pull_request
Matrix: changes
Matrix: integration-e2e-ubuntu
Matrix: ut-ubuntu
Matrix: benchmark-ubuntu
Test passed or skipped
0s
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']
|