feat: add EntryChunkPlugin to handle shebang and shims #1182
Annotations
2 errors
Unit Test:
packages/core/tests/config.test.ts#L196
Error: Snapshot `Should compose create Rsbuild config correctly > Merge Rsbuild config 1` mismatched
- Expected
+ Received
@@ -199,11 +199,10 @@
},
{
"plugins": [
EntryChunkPlugin {
"enabledImportMetaUrlShim": true,
- "importMetaUrlShims": {},
"reactDirectives": {},
"shebangChmod": 493,
"shebangEntries": {},
"shebangInjectedAssets": Set {},
},
@@ -425,11 +424,10 @@
},
{
"plugins": [
EntryChunkPlugin {
"enabledImportMetaUrlShim": true,
- "importMetaUrlShims": {},
"reactDirectives": {},
"shebangChmod": 493,
"shebangEntries": {},
"shebangInjectedAssets": Set {},
},
@@ -635,11 +633,10 @@
},
{
"plugins": [
EntryChunkPlugin {
"enabledImportMetaUrlShim": true,
- "importMetaUrlShims": {},
"reactDirectives": {},
"shebangChmod": 493,
"shebangEntries": {},
"shebangInjectedAssets": Set {},
},
❯ tests/config.test.ts:196:35
|
Unit Test
Process completed with exit code 1.
|
Loading