ESM-CJS interop test
This project is maintained by JSerFeng
For readablility some shortcuts are applied:
named
named: 'named'[named]
[named]: 'named' (non enumerable)default
default: 'default'[default]
[default]: 'default' (non enumerable)__esModule
__esModule: true[__esModule]
[__esModule]: true (non enumerable)[G]
[Getter][Module]
[Symbol(Symbol.toStringTag)]: 'Module'import ximport x |
rspack webpack |
|---|---|
| default-export default-export-runtime |
{ default } |
| default-export-esModule | { [__esModule], default } |
| default-export-esModule-esm-reexport named-and-default-export-esModule-esm-reexport named-and-default-export-esm-esm-reexport named-and-default-export-esm-reexport named-export-esm order-esm single-string-export-esm-reexport tla-esm-esm-reexport |
undefined + errors |
| default-export-esm named-and-default-export-esm tla-esm |
'default' |
| named-and-default-export named-and-default-export-duplicate named-and-default-export-inherited named-and-default-export-live named-and-default-export-reexport named-and-default-export-runtime single-object-with-default-export single-object-with-default-export-duplicate |
{ named, default } |
| named-and-default-export-babel-getter | { [__esModule], named: [G], default: [G] } |
| named-and-default-export-esModule named-and-default-export-esModule-duplicate named-and-default-export-esModule-reexport named-and-default-export-runtime-esModule |
{ [__esModule], named, default } |
| named-and-default-export-getter | { [named]: [G], [default]: [G] } |
| named-and-default-export-getter-esModule | { [__esModule]: [G: true], [named]: [G], [default]: [G] } |
| named-and-default-export-non-enumerable named-and-default-export-non-enumerable-inherited |
{ [named], [default] } |
| named-and-null-default-export named-and-null-default-export-runtime single-object-with-null-default-export |
{ named, default: null } |
| named-and-null-default-export-esModule named-and-null-default-export-runtime-esModule |
{ [__esModule], named, default: null } |
| named-and-null-default-export-non-enumerable | { [named], [default]: null } |
| named-export named-export-runtime single-object-export |
{ named } |
| named-export-esModule named-export-runtime-esModule |
{ [__esModule], named } |
| named-export-non-enumerable | { [named] } |
| order | { b, a, c } |
| order-esModule | { [__esModule], b, a, c } |
| require-circular require-circular-self require-conditional-execution |
{ default, named } |
| single-class-export | <ref *1> { [class TheClass] [length]: 0, [name]: 'TheClass', [prototype]: { [constructor]: [Circular *1] } } |
| single-empty-string-export | '' |
| single-function-export | <ref *1> { [Function: theFunction] [length]: 0, [name]: 'theFunction', [arguments]: null, [caller]: null, [prototype]: { [constructor]: [Circular *1] } } |
| single-null-export | null |
| single-promise-object-export | Promise { { named } } |
| single-promise-object-with-default-export | Promise { { named, default } } |
| single-promise-string-export | Promise { 'single' } |
| single-string-export single-string-export-defined single-string-export-duplicate single-string-export-getter single-string-export-reexport |
'single' |
| single-string-export-live | 'single-outdated' |
| tla-esModule tla-esModule-esm-reexport |
compilation error |
import { default as x }import { default as x } |
rspack webpack |
|---|---|
| default-export default-export-runtime |
{ default } |
| default-export-esModule | { [__esModule], default } |
| default-export-esModule-esm-reexport named-and-default-export-esModule-esm-reexport named-and-default-export-esm-esm-reexport named-and-default-export-esm-reexport named-export-esm order-esm single-string-export-esm-reexport tla-esm-esm-reexport |
undefined + errors |
| default-export-esm named-and-default-export-esm tla-esm |
'default' |
| named-and-default-export named-and-default-export-duplicate named-and-default-export-inherited named-and-default-export-live named-and-default-export-reexport named-and-default-export-runtime single-object-with-default-export single-object-with-default-export-duplicate |
{ named, default } |
| named-and-default-export-babel-getter | { [__esModule], named: [G], default: [G] } |
| named-and-default-export-esModule named-and-default-export-esModule-duplicate named-and-default-export-esModule-reexport named-and-default-export-runtime-esModule |
{ [__esModule], named, default } |
| named-and-default-export-getter | { [named]: [G], [default]: [G] } |
| named-and-default-export-getter-esModule | { [__esModule]: [G: true], [named]: [G], [default]: [G] } |
| named-and-default-export-non-enumerable named-and-default-export-non-enumerable-inherited |
{ [named], [default] } |
| named-and-null-default-export named-and-null-default-export-runtime single-object-with-null-default-export |
{ named, default: null } |
| named-and-null-default-export-esModule named-and-null-default-export-runtime-esModule |
{ [__esModule], named, default: null } |
| named-and-null-default-export-non-enumerable | { [named], [default]: null } |
| named-export named-export-runtime single-object-export |
{ named } |
| named-export-esModule named-export-runtime-esModule |
{ [__esModule], named } |
| named-export-non-enumerable | { [named] } |
| order | { b, a, c } |
| order-esModule | { [__esModule], b, a, c } |
| require-circular require-circular-self require-conditional-execution |
{ default, named } |
| single-class-export | <ref *1> { [class TheClass] [length]: 0, [name]: 'TheClass', [prototype]: { [constructor]: [Circular *1] } } |
| single-empty-string-export | '' |
| single-function-export | <ref *1> { [Function: theFunction] [length]: 0, [name]: 'theFunction', [arguments]: null, [caller]: null, [prototype]: { [constructor]: [Circular *1] } } |
| single-null-export | null |
| single-promise-object-export | Promise { { named } } |
| single-promise-object-with-default-export | Promise { { named, default } } |
| single-promise-string-export | Promise { 'single' } |
| single-string-export single-string-export-defined single-string-export-duplicate single-string-export-getter single-string-export-reexport |
'single' |
| single-string-export-live | 'single-outdated' |
| tla-esModule tla-esModule-esm-reexport |
compilation error |
import * as x; x.defaultimport * as x; x.default |
rspack webpack |
|---|---|
| default-export default-export-runtime |
{ default } |
| default-export-esModule | { [__esModule], default } |
| default-export-esModule-esm-reexport named-and-default-export-esModule-esm-reexport named-and-default-export-esm-esm-reexport named-and-default-export-esm-reexport named-export-esm order-esm single-string-export-esm-reexport tla-esm-esm-reexport |
undefined + errors |
| default-export-esm named-and-default-export-esm tla-esm |
'default' |
| named-and-default-export named-and-default-export-duplicate named-and-default-export-inherited named-and-default-export-live named-and-default-export-reexport named-and-default-export-runtime single-object-with-default-export single-object-with-default-export-duplicate |
{ named, default } |
| named-and-default-export-babel-getter | { [__esModule], named: [G], default: [G] } |
| named-and-default-export-esModule named-and-default-export-esModule-duplicate named-and-default-export-esModule-reexport named-and-default-export-runtime-esModule |
{ [__esModule], named, default } |
| named-and-default-export-getter | { [named]: [G], [default]: [G] } |
| named-and-default-export-getter-esModule | { [__esModule]: [G: true], [named]: [G], [default]: [G] } |
| named-and-default-export-non-enumerable named-and-default-export-non-enumerable-inherited |
{ [named], [default] } |
| named-and-null-default-export named-and-null-default-export-runtime single-object-with-null-default-export |
{ named, default: null } |
| named-and-null-default-export-esModule named-and-null-default-export-runtime-esModule |
{ [__esModule], named, default: null } |
| named-and-null-default-export-non-enumerable | { [named], [default]: null } |
| named-export named-export-runtime single-object-export |
{ named } |
| named-export-esModule named-export-runtime-esModule |
{ [__esModule], named } |
| named-export-non-enumerable | { [named] } |
| order | { b, a, c } |
| order-esModule | { [__esModule], b, a, c } |
| require-circular require-circular-self require-conditional-execution |
{ default, named } |
| single-class-export | <ref *1> { [class TheClass] [length]: 0, [name]: 'TheClass', [prototype]: { [constructor]: [Circular *1] } } |
| single-empty-string-export | '' |
| single-function-export | <ref *1> { [Function: theFunction] [length]: 0, [name]: 'theFunction', [arguments]: null, [caller]: null, [prototype]: { [constructor]: [Circular *1] } } |
| single-null-export | null |
| single-promise-object-export | Promise { { named } } |
| single-promise-object-with-default-export | Promise { { named, default } } |
| single-promise-string-export | Promise { 'single' } |
| single-string-export single-string-export-defined single-string-export-duplicate single-string-export-getter single-string-export-reexport |
'single' |
| single-string-export-live | 'single-outdated' |
| tla-esModule tla-esModule-esm-reexport |
compilation error |
import * as x; ident(x).defaultimport * as x; ident(x).default |
rspack webpack |
|---|---|
| default-export default-export-runtime |
{ default } |
| default-export-esModule | { [__esModule], default } |
| default-export-esModule-esm-reexport named-and-default-export-esModule-esm-reexport named-and-default-export-esm-esm-reexport named-and-default-export-esm-reexport named-export-esm order-esm single-string-export-esm-reexport tla-esm-esm-reexport |
undefined |
| default-export-esm named-and-default-export-esm tla-esm |
'default' |
| named-and-default-export named-and-default-export-duplicate named-and-default-export-inherited named-and-default-export-live named-and-default-export-reexport named-and-default-export-runtime single-object-with-default-export single-object-with-default-export-duplicate |
{ named, default } |
| named-and-default-export-babel-getter | { [__esModule], named: [G], default: [G] } |
| named-and-default-export-esModule named-and-default-export-esModule-duplicate named-and-default-export-esModule-reexport named-and-default-export-runtime-esModule |
{ [__esModule], named, default } |
| named-and-default-export-getter | { [named]: [G], [default]: [G] } |
| named-and-default-export-getter-esModule | { [__esModule]: [G: true], [named]: [G], [default]: [G] } |
| named-and-default-export-non-enumerable named-and-default-export-non-enumerable-inherited |
{ [named], [default] } |
| named-and-null-default-export named-and-null-default-export-runtime single-object-with-null-default-export |
{ named, default: null } |
| named-and-null-default-export-esModule named-and-null-default-export-runtime-esModule |
{ [__esModule], named, default: null } |
| named-and-null-default-export-non-enumerable | { [named], [default]: null } |
| named-export named-export-runtime single-object-export |
{ named } |
| named-export-esModule named-export-runtime-esModule |
{ [__esModule], named } |
| named-export-non-enumerable | { [named] } |
| order | { b, a, c } |
| order-esModule | { [__esModule], b, a, c } |
| require-circular require-circular-self require-conditional-execution |
{ default, named } |
| single-class-export | <ref *1> { [class TheClass] [length]: 0, [name]: 'TheClass', [prototype]: { [constructor]: [Circular *1] } } |
| single-empty-string-export | '' |
| single-function-export | <ref *1> { [Function: theFunction] [length]: 0, [name]: 'theFunction', [arguments]: null, [caller]: null, [prototype]: { [constructor]: [Circular *1] } } |
| single-null-export | null |
| single-promise-object-export | Promise { { named } } |
| single-promise-object-with-default-export | Promise { { named, default } } |
| single-promise-string-export | Promise { 'single' } |
| single-string-export single-string-export-defined single-string-export-duplicate single-string-export-getter single-string-export-reexport |
'single' |
| single-string-export-live | 'single-outdated' |
| tla-esModule tla-esModule-esm-reexport |
compilation error |
import { named as x }import { named as x } |
rspack webpack |
|---|---|
| default-export default-export-esModule default-export-esModule-esm-reexport default-export-esm order order-esModule order-esm |
undefined + errors |
| default-export-runtime single-class-export single-empty-string-export single-function-export single-promise-object-export single-promise-object-with-default-export single-promise-string-export single-string-export single-string-export-defined single-string-export-duplicate single-string-export-esm-reexport single-string-export-getter single-string-export-live single-string-export-reexport |
undefined |
| named-and-default-export named-and-default-export-babel-getter named-and-default-export-duplicate named-and-default-export-esModule named-and-default-export-esModule-duplicate named-and-default-export-esModule-esm-reexport named-and-default-export-esModule-reexport named-and-default-export-esm named-and-default-export-esm-esm-reexport named-and-default-export-esm-reexport named-and-default-export-getter named-and-default-export-getter-esModule named-and-default-export-inherited named-and-default-export-live named-and-default-export-non-enumerable named-and-default-export-non-enumerable-inherited named-and-default-export-reexport named-and-default-export-runtime named-and-default-export-runtime-esModule named-and-null-default-export named-and-null-default-export-esModule named-and-null-default-export-non-enumerable named-and-null-default-export-runtime named-and-null-default-export-runtime-esModule named-export named-export-esModule named-export-esm named-export-non-enumerable named-export-runtime named-export-runtime-esModule require-circular require-circular-self require-conditional-execution single-object-export single-object-with-default-export single-object-with-default-export-duplicate single-object-with-null-default-export tla-esm tla-esm-esm-reexport |
'named' |
| single-null-export | type error |
| tla-esModule tla-esModule-esm-reexport |
compilation error |
import * as x; x.namedimport * as x; x.named |
rspack webpack |
|---|---|
| default-export default-export-esModule default-export-esModule-esm-reexport default-export-esm order order-esModule order-esm |
undefined + errors |
| default-export-runtime single-class-export single-empty-string-export single-function-export single-promise-object-export single-promise-object-with-default-export single-promise-string-export single-string-export single-string-export-defined single-string-export-duplicate single-string-export-esm-reexport single-string-export-getter single-string-export-live single-string-export-reexport |
undefined |
| named-and-default-export named-and-default-export-babel-getter named-and-default-export-duplicate named-and-default-export-esModule named-and-default-export-esModule-duplicate named-and-default-export-esModule-esm-reexport named-and-default-export-esModule-reexport named-and-default-export-esm named-and-default-export-esm-esm-reexport named-and-default-export-esm-reexport named-and-default-export-getter named-and-default-export-getter-esModule named-and-default-export-inherited named-and-default-export-live named-and-default-export-non-enumerable named-and-default-export-non-enumerable-inherited named-and-default-export-reexport named-and-default-export-runtime named-and-default-export-runtime-esModule named-and-null-default-export named-and-null-default-export-esModule named-and-null-default-export-non-enumerable named-and-null-default-export-runtime named-and-null-default-export-runtime-esModule named-export named-export-esModule named-export-esm named-export-non-enumerable named-export-runtime named-export-runtime-esModule require-circular require-circular-self require-conditional-execution single-object-export single-object-with-default-export single-object-with-default-export-duplicate single-object-with-null-default-export tla-esm tla-esm-esm-reexport |
'named' |
| single-null-export | type error |
| tla-esModule tla-esModule-esm-reexport |
compilation error |
import * as x; ident(x).namedimport * as x; ident(x).named |
rspack webpack |
|---|---|
| default-export default-export-esModule default-export-esModule-esm-reexport default-export-esm default-export-runtime order order-esModule order-esm single-class-export single-empty-string-export single-function-export single-null-export single-promise-object-export single-promise-object-with-default-export single-promise-string-export single-string-export single-string-export-defined single-string-export-duplicate single-string-export-esm-reexport single-string-export-getter single-string-export-live single-string-export-reexport |
undefined |
| named-and-default-export named-and-default-export-babel-getter named-and-default-export-duplicate named-and-default-export-esModule named-and-default-export-esModule-duplicate named-and-default-export-esModule-esm-reexport named-and-default-export-esModule-reexport named-and-default-export-esm named-and-default-export-esm-esm-reexport named-and-default-export-esm-reexport named-and-default-export-getter named-and-default-export-getter-esModule named-and-default-export-inherited named-and-default-export-live named-and-default-export-non-enumerable named-and-default-export-non-enumerable-inherited named-and-default-export-reexport named-and-default-export-runtime named-and-default-export-runtime-esModule named-and-null-default-export named-and-null-default-export-esModule named-and-null-default-export-non-enumerable named-and-null-default-export-runtime named-and-null-default-export-runtime-esModule named-export named-export-esModule named-export-esm named-export-non-enumerable named-export-runtime named-export-runtime-esModule require-circular require-circular-self require-conditional-execution single-object-export single-object-with-default-export single-object-with-default-export-duplicate single-object-with-null-default-export tla-esm tla-esm-esm-reexport |
'named' |
| tla-esModule tla-esModule-esm-reexport |
compilation error |
import { __esModule as x }import { __esModule as x } |
rspack webpack |
|---|---|
| default-export default-export-esm named-and-default-export named-and-default-export-duplicate named-and-default-export-esm named-and-default-export-esm-esm-reexport named-and-default-export-esm-reexport named-and-default-export-getter named-and-default-export-live named-and-default-export-non-enumerable named-and-default-export-reexport named-and-null-default-export named-and-null-default-export-non-enumerable named-export named-export-esm named-export-non-enumerable order order-esm require-circular require-circular-self require-conditional-execution tla-esm tla-esm-esm-reexport |
true + errors |
| default-export-esModule default-export-esModule-esm-reexport default-export-runtime named-and-default-export-babel-getter named-and-default-export-esModule named-and-default-export-esModule-duplicate named-and-default-export-esModule-esm-reexport named-and-default-export-esModule-reexport named-and-default-export-getter-esModule named-and-default-export-inherited named-and-default-export-non-enumerable-inherited named-and-default-export-runtime named-and-default-export-runtime-esModule named-and-null-default-export-esModule named-and-null-default-export-runtime named-and-null-default-export-runtime-esModule named-export-esModule named-export-runtime named-export-runtime-esModule order-esModule single-class-export single-empty-string-export single-function-export single-null-export single-object-export single-object-with-default-export single-object-with-default-export-duplicate single-object-with-null-default-export single-promise-object-export single-promise-object-with-default-export single-promise-string-export single-string-export single-string-export-defined single-string-export-duplicate single-string-export-esm-reexport single-string-export-getter single-string-export-live single-string-export-reexport |
true |
| tla-esModule tla-esModule-esm-reexport |
compilation error |
import * as x; x.__esModuleimport * as x; x.__esModule |
rspack webpack |
|---|---|
| default-export default-export-esm named-and-default-export named-and-default-export-duplicate named-and-default-export-esm named-and-default-export-esm-esm-reexport named-and-default-export-esm-reexport named-and-default-export-getter named-and-default-export-live named-and-default-export-non-enumerable named-and-default-export-reexport named-and-null-default-export named-and-null-default-export-non-enumerable named-export named-export-esm named-export-non-enumerable order order-esm require-circular require-circular-self require-conditional-execution tla-esm tla-esm-esm-reexport |
true + errors |
| default-export-esModule default-export-esModule-esm-reexport default-export-runtime named-and-default-export-babel-getter named-and-default-export-esModule named-and-default-export-esModule-duplicate named-and-default-export-esModule-esm-reexport named-and-default-export-esModule-reexport named-and-default-export-getter-esModule named-and-default-export-inherited named-and-default-export-non-enumerable-inherited named-and-default-export-runtime named-and-default-export-runtime-esModule named-and-null-default-export-esModule named-and-null-default-export-runtime named-and-null-default-export-runtime-esModule named-export-esModule named-export-runtime named-export-runtime-esModule order-esModule single-class-export single-empty-string-export single-function-export single-null-export single-object-export single-object-with-default-export single-object-with-default-export-duplicate single-object-with-null-default-export single-promise-object-export single-promise-object-with-default-export single-promise-string-export single-string-export single-string-export-defined single-string-export-duplicate single-string-export-esm-reexport single-string-export-getter single-string-export-live single-string-export-reexport |
true |
| tla-esModule tla-esModule-esm-reexport |
compilation error |
import * as x; ident(x).__esModuleimport * as x; ident(x).__esModule |
rspack webpack |
|---|---|
| default-export default-export-esModule default-export-esModule-esm-reexport default-export-esm default-export-runtime named-and-default-export named-and-default-export-babel-getter named-and-default-export-duplicate named-and-default-export-esModule named-and-default-export-esModule-duplicate named-and-default-export-esModule-esm-reexport named-and-default-export-esModule-reexport named-and-default-export-esm named-and-default-export-esm-esm-reexport named-and-default-export-esm-reexport named-and-default-export-getter named-and-default-export-getter-esModule named-and-default-export-inherited named-and-default-export-live named-and-default-export-non-enumerable named-and-default-export-non-enumerable-inherited named-and-default-export-reexport named-and-default-export-runtime named-and-default-export-runtime-esModule named-and-null-default-export named-and-null-default-export-esModule named-and-null-default-export-non-enumerable named-and-null-default-export-runtime named-and-null-default-export-runtime-esModule named-export named-export-esModule named-export-esm named-export-non-enumerable named-export-runtime named-export-runtime-esModule order order-esModule order-esm require-circular require-circular-self require-conditional-execution single-class-export single-empty-string-export single-function-export single-null-export single-object-export single-object-with-default-export single-object-with-default-export-duplicate single-object-with-null-default-export single-promise-object-export single-promise-object-with-default-export single-promise-string-export single-string-export single-string-export-defined single-string-export-duplicate single-string-export-esm-reexport single-string-export-getter single-string-export-live single-string-export-reexport tla-esm tla-esm-esm-reexport |
true |
| tla-esModule tla-esModule-esm-reexport |
compilation error |
import * as ximport * as x |
rspack | webpack |
|---|---|---|
| default-export default-export-runtime |
[Module: null prototype] { [__esModule], default: [G] { default }, [Module] } |
[Module: null prototype] { [__esModule], default: [G] { default }, [Module] } |
| default-export-esModule | [Module: null prototype] { [__esModule], default: [G] { [__esModule], default }, [Module] } |
[Module: null prototype] { [__esModule], default: [G] { [__esModule], default }, [Module] } |
| default-export-esModule-esm-reexport | { [__esModule], [Module] } |
{ [__esModule], [Module] } |
| default-export-esm | { [__esModule], default: [G], [Module] } |
{ [__esModule], default: [G], [Module] } |
| named-and-default-export named-and-default-export-duplicate named-and-default-export-inherited named-and-default-export-live named-and-default-export-reexport named-and-default-export-runtime single-object-with-default-export single-object-with-default-export-duplicate |
[Module: null prototype] { [__esModule], named: [G], default: [G] { named, default }, [Module] } |
[Module: null prototype] { [__esModule], named: [G], default: [G] { named, default }, [Module] } |
| named-and-default-export-babel-getter | [Module: null prototype] { [__esModule], named: [G], default: [G] { [__esModule], named: [G], default: [G] }, [Module] } |
[Module: null prototype] { [__esModule], named: [G], default: [G] { [__esModule], named: [G], default: [G] }, [Module] } |
| named-and-default-export-esModule named-and-default-export-esModule-duplicate named-and-default-export-esModule-reexport named-and-default-export-runtime-esModule |
[Module: null prototype] { [__esModule], named: [G], default: [G] { [__esModule], named, default }, [Module] } |
[Module: null prototype] { [__esModule], named: [G], default: [G] { [__esModule], named, default }, [Module] } |
| named-and-default-export-esModule-esm-reexport named-and-default-export-esm-esm-reexport named-and-default-export-esm-reexport named-export-esm tla-esm-esm-reexport |
{ [__esModule], named: [G], [Module] } |
{ [__esModule], named: [G], [Module] } |
| named-and-default-export-esm tla-esm |
{ [__esModule], default: [G], named: [G], [Module] } |
{ [__esModule], default: [G], named: [G], [Module] } |
| named-and-default-export-getter | [Module: null prototype] { [__esModule], named: [G], default: [G] { [named]: [G], [default]: [G] }, [Module] } |
[Module: null prototype] { [__esModule], named: [G], default: [G] { [named]: [G], [default]: [G] }, [Module] } |
| named-and-default-export-getter-esModule | [Module: null prototype] { [__esModule], named: [G], default: [G] { [__esModule]: [G: true], [named]: [G], [default]: [G] }, [Module] } |
[Module: null prototype] { [__esModule], named: [G], default: [G] { [__esModule]: [G: true], [named]: [G], [default]: [G] }, [Module] } |
| named-and-default-export-non-enumerable named-and-default-export-non-enumerable-inherited |
[Module: null prototype] { [__esModule], named: [G], default: [G] { [named], [default] }, [Module] } |
[Module: null prototype] { [__esModule], named: [G], default: [G] { [named], [default] }, [Module] } |
| named-and-null-default-export named-and-null-default-export-runtime single-object-with-null-default-export |
[Module: null prototype] { [__esModule], named: [G], default: [G] { named, default: null }, [Module] } |
[Module: null prototype] { [__esModule], named: [G], default: [G] { named, default: null }, [Module] } |
| named-and-null-default-export-esModule named-and-null-default-export-runtime-esModule |
[Module: null prototype] { [__esModule], named: [G], default: [G] { [__esModule], named, default: null }, [Module] } |
[Module: null prototype] { [__esModule], named: [G], default: [G] { [__esModule], named, default: null }, [Module] } |
| named-and-null-default-export-non-enumerable | [Module: null prototype] { [__esModule], named: [G], default: [G] { [named], [default]: null }, [Module] } |
[Module: null prototype] { [__esModule], named: [G], default: [G] { [named], [default]: null }, [Module] } |
| named-export named-export-runtime single-object-export |
[Module: null prototype] { [__esModule], named: [G], default: [G] { named }, [Module] } |
[Module: null prototype] { [__esModule], named: [G], default: [G] { named }, [Module] } |
| named-export-esModule named-export-runtime-esModule |
[Module: null prototype] { [__esModule], named: [G], default: [G] { [__esModule], named }, [Module] } |
[Module: null prototype] { [__esModule], named: [G], default: [G] { [__esModule], named }, [Module] } |
| named-export-non-enumerable | [Module: null prototype] { [__esModule], named: [G], default: [G] { [named] }, [Module] } |
[Module: null prototype] { [__esModule], named: [G], default: [G] { [named] }, [Module] } |
| order | [Module: null prototype] { [__esModule], b: [G: 'b'], a: [G: 'a'], c: [G: 'c'], default: [G] { b, a, c }, [Module] } |
[Module: null prototype] { [__esModule], b: [G: 'b'], a: [G: 'a'], c: [G: 'c'], default: [G] { b, a, c }, [Module] } |
| order-esModule | [Module: null prototype] { [__esModule], b: [G: 'b'], a: [G: 'a'], c: [G: 'c'], default: [G] { [__esModule], b, a, c }, [Module] } |
[Module: null prototype] { [__esModule], b: [G: 'b'], a: [G: 'a'], c: [G: 'c'], default: [G] { [__esModule], b, a, c }, [Module] } |
| order-esm | { [__esModule], a: [G: 'a'], b: [G: 'b'], c: [G: 'c'], [Module] } |
{ [__esModule], a: [G: 'a'], b: [G: 'b'], c: [G: 'c'], [Module] } |
| require-circular require-circular-self require-conditional-execution |
[Module: null prototype] { [__esModule], default: [G] { default, named }, named: [G], [Module] } |
[Module: null prototype] { [__esModule], default: [G] { default, named }, named: [G], [Module] } |
| single-class-export | [Module: null prototype] { [__esModule], default: [G: <Inspection threw>], [Module] } |
[Module: null prototype] { [__esModule], length: [G: 0], name: [G: 'TheClass'], prototype: [G] <ref *1> { [constructor]: { [class TheClass] [length]: 0, [name]: 'TheClass', [prototype]: [Circular *1] } }, default: [G: <Inspection threw>], [Module] } |
| single-empty-string-export | [Module: null prototype] { [__esModule], default: [G: ''], [Module] } |
[Module: null prototype] { [__esModule], default: [G: ''], [Module] } |
| single-function-export | [Module: null prototype] { [__esModule], default: [G: <Inspection threw>], [Module] } |
[Module: null prototype] { [__esModule], length: [G: 0], name: [G: 'theFunction'], arguments: [G: null], caller: [G: null], prototype: [G] <ref *1> { [constructor]: { [Function: theFunction] [length]: 0, [name]: 'theFunction', [arguments]: null, [caller]: null, [prototype]: [Circular *1] } }, default: [G: <Inspection threw>], [Module] } |
| single-null-export | [Module: null prototype] { [__esModule], default: [G: null], [Module] } |
[Module: null prototype] { [__esModule], default: [G: null], [Module] } |
| single-promise-object-export | [Module: null prototype] { [__esModule], constructor: [G: <Inspection threw>], then: [G: <Inspection threw>], catch: [G: <Inspection threw>], finally: [G: <Inspection threw>], default: [G] Promise { { named } }, [Module] } |
[Module: null prototype] { [__esModule], constructor: [G: <Inspection threw>], then: [G: <Inspection threw>], catch: [G: <Inspection threw>], finally: [G: <Inspection threw>], default: [G] Promise { { named } }, [Module] } |
| single-promise-object-with-default-export | [Module: null prototype] { [__esModule], constructor: [G: <Inspection threw>], then: [G: <Inspection threw>], catch: [G: <Inspection threw>], finally: [G: <Inspection threw>], default: [G] Promise { { named, default } }, [Module] } |
[Module: null prototype] { [__esModule], constructor: [G: <Inspection threw>], then: [G: <Inspection threw>], catch: [G: <Inspection threw>], finally: [G: <Inspection threw>], default: [G] Promise { { named, default } }, [Module] } |
| single-promise-string-export | [Module: null prototype] { [__esModule], constructor: [G: <Inspection threw>], then: [G: <Inspection threw>], catch: [G: <Inspection threw>], finally: [G: <Inspection threw>], default: [G] Promise { 'single' }, [Module] } |
[Module: null prototype] { [__esModule], constructor: [G: <Inspection threw>], then: [G: <Inspection threw>], catch: [G: <Inspection threw>], finally: [G: <Inspection threw>], default: [G] Promise { 'single' }, [Module] } |
| single-string-export single-string-export-defined single-string-export-duplicate single-string-export-getter single-string-export-reexport |
[Module: null prototype] { [__esModule], default: [G: 'single'], [Module] } |
[Module: null prototype] { [__esModule], default: [G: 'single'], [Module] } |
| single-string-export-esm-reexport | { '0': [G: 's'], '1': [G: 'i'], '2': [G: 'n'], '3': [G: 'g'], '4': [G: 'l'], '5': [G: 'e'], [__esModule], [Module] } |
{ [__esModule], [Module] } |
| single-string-export-live | [Module: null prototype] { [__esModule], default: [G: 'single-outdated'], [Module] } |
[Module: null prototype] { [__esModule], default: [G: 'single-outdated'], [Module] } |
| tla-esModule tla-esModule-esm-reexport |
compilation error | compilation error |
import()import() |
rspack | webpack |
|---|---|---|
| default-export default-export-runtime |
[Module: null prototype] { [__esModule], default: [G] { default }, [Module] } |
[Module: null prototype] { [__esModule], default: [G] { default }, [Module] } |
| default-export-esModule | [Module: null prototype] { [__esModule], default: [G] { [__esModule], default }, [Module] } |
[Module: null prototype] { [__esModule], default: [G] { [__esModule], default }, [Module] } |
| default-export-esModule-esm-reexport | { __esModule } |
{ [__esModule], [Module] } |
| default-export-esm | { default } |
{ [__esModule], default: [G], [Module] } |
| named-and-default-export named-and-default-export-duplicate named-and-default-export-inherited named-and-default-export-live named-and-default-export-reexport named-and-default-export-runtime single-object-with-default-export single-object-with-default-export-duplicate |
[Module: null prototype] { [__esModule], named: [G], default: [G] { named, default }, [Module] } |
[Module: null prototype] { [__esModule], named: [G], default: [G] { named, default }, [Module] } |
| named-and-default-export-babel-getter | [Module: null prototype] { [__esModule], named: [G], default: [G] { [__esModule], named: [G], default: [G] }, [Module] } |
[Module: null prototype] { [__esModule], named: [G], default: [G] { [__esModule], named: [G], default: [G] }, [Module] } |
| named-and-default-export-esModule named-and-default-export-esModule-duplicate named-and-default-export-esModule-reexport named-and-default-export-runtime-esModule |
[Module: null prototype] { [__esModule], named: [G], default: [G] { [__esModule], named, default }, [Module] } |
[Module: null prototype] { [__esModule], named: [G], default: [G] { [__esModule], named, default }, [Module] } |
| named-and-default-export-esModule-esm-reexport | { __esModule, named } |
{ [__esModule], named: [G], [Module] } |
| named-and-default-export-esm | { default, named } |
{ [__esModule], default: [G], named: [G], [Module] } |
| named-and-default-export-esm-esm-reexport named-and-default-export-esm-reexport named-export-esm |
{ named } |
{ [__esModule], named: [G], [Module] } |
| named-and-default-export-getter | [Module: null prototype] { [__esModule], named: [G], default: [G] { [named]: [G], [default]: [G] }, [Module] } |
[Module: null prototype] { [__esModule], named: [G], default: [G] { [named]: [G], [default]: [G] }, [Module] } |
| named-and-default-export-getter-esModule | [Module: null prototype] { [__esModule], named: [G], default: [G] { [__esModule]: [G: true], [named]: [G], [default]: [G] }, [Module] } |
[Module: null prototype] { [__esModule], named: [G], default: [G] { [__esModule]: [G: true], [named]: [G], [default]: [G] }, [Module] } |
| named-and-default-export-non-enumerable named-and-default-export-non-enumerable-inherited |
[Module: null prototype] { [__esModule], named: [G], default: [G] { [named], [default] }, [Module] } |
[Module: null prototype] { [__esModule], named: [G], default: [G] { [named], [default] }, [Module] } |
| named-and-null-default-export named-and-null-default-export-runtime single-object-with-null-default-export |
[Module: null prototype] { [__esModule], named: [G], default: [G] { named, default: null }, [Module] } |
[Module: null prototype] { [__esModule], named: [G], default: [G] { named, default: null }, [Module] } |
| named-and-null-default-export-esModule named-and-null-default-export-runtime-esModule |
[Module: null prototype] { [__esModule], named: [G], default: [G] { [__esModule], named, default: null }, [Module] } |
[Module: null prototype] { [__esModule], named: [G], default: [G] { [__esModule], named, default: null }, [Module] } |
| named-and-null-default-export-non-enumerable | [Module: null prototype] { [__esModule], named: [G], default: [G] { [named], [default]: null }, [Module] } |
[Module: null prototype] { [__esModule], named: [G], default: [G] { [named], [default]: null }, [Module] } |
| named-export named-export-runtime single-object-export |
[Module: null prototype] { [__esModule], named: [G], default: [G] { named }, [Module] } |
[Module: null prototype] { [__esModule], named: [G], default: [G] { named }, [Module] } |
| named-export-esModule named-export-runtime-esModule |
[Module: null prototype] { [__esModule], named: [G], default: [G] { [__esModule], named }, [Module] } |
[Module: null prototype] { [__esModule], named: [G], default: [G] { [__esModule], named }, [Module] } |
| named-export-non-enumerable | [Module: null prototype] { [__esModule], named: [G], default: [G] { [named] }, [Module] } |
[Module: null prototype] { [__esModule], named: [G], default: [G] { [named] }, [Module] } |
| order | [Module: null prototype] { [__esModule], b: [G: 'b'], a: [G: 'a'], c: [G: 'c'], default: [G] { b, a, c }, [Module] } |
[Module: null prototype] { [__esModule], b: [G: 'b'], a: [G: 'a'], c: [G: 'c'], default: [G] { b, a, c }, [Module] } |
| order-esModule | [Module: null prototype] { [__esModule], b: [G: 'b'], a: [G: 'a'], c: [G: 'c'], default: [G] { [__esModule], b, a, c }, [Module] } |
[Module: null prototype] { [__esModule], b: [G: 'b'], a: [G: 'a'], c: [G: 'c'], default: [G] { [__esModule], b, a, c }, [Module] } |
| order-esm | { a, b, c } |
{ [__esModule], a: [G: 'a'], b: [G: 'b'], c: [G: 'c'], [Module] } |
| require-circular require-circular-self require-conditional-execution |
[Module: null prototype] { [__esModule], default: [G] { default, named }, named: [G], [Module] } |
[Module: null prototype] { [__esModule], default: [G] { default, named }, named: [G], [Module] } |
| single-class-export | [Module: null prototype] { [__esModule], default: [G: <Inspection threw>], [Module] } |
[Module: null prototype] { [__esModule], length: [G: 0], name: [G: 'TheClass'], prototype: [G] <ref *1> { [constructor]: { [class TheClass] [length]: 0, [name]: 'TheClass', [prototype]: [Circular *1] } }, default: [G: <Inspection threw>], [Module] } |
| single-empty-string-export | [Module: null prototype] { [__esModule], default: [G: ''], [Module] } |
[Module: null prototype] { [__esModule], default: [G: ''], [Module] } |
| single-function-export | [Module: null prototype] { [__esModule], default: [G: <Inspection threw>], [Module] } |
[Module: null prototype] { [__esModule], length: [G: 0], name: [G: 'theFunction'], arguments: [G: null], caller: [G: null], prototype: [G] <ref *1> { [constructor]: { [Function: theFunction] [length]: 0, [name]: 'theFunction', [arguments]: null, [caller]: null, [prototype]: [Circular *1] } }, default: [G: <Inspection threw>], [Module] } |
| single-null-export | [Module: null prototype] { [__esModule], default: [G: null], [Module] } |
[Module: null prototype] { [__esModule], default: [G: null], [Module] } |
| single-promise-object-export | { named } |
{ named } |
| single-promise-object-with-default-export | { named, default } |
{ named, default } |
| single-promise-string-export | 'single' |
'single' |
| single-string-export single-string-export-defined single-string-export-duplicate single-string-export-getter single-string-export-reexport |
[Module: null prototype] { [__esModule], default: [G: 'single'], [Module] } |
[Module: null prototype] { [__esModule], default: [G: 'single'], [Module] } |
| single-string-export-esm-reexport | { '0': [G: 's'], '1': [G: 'i'], '2': [G: 'n'], '3': [G: 'g'], '4': [G: 'l'], '5': [G: 'e'], [__esModule], [Module] } |
{ '0': [G: 's'], '1': [G: 'i'], '2': [G: 'n'], '3': [G: 'g'], '4': [G: 'l'], '5': [G: 'e'], [__esModule], [Module] } |
| single-string-export-live | [Module: null prototype] { [__esModule], default: [G: 'single-outdated'], [Module] } |
[Module: null prototype] { [__esModule], default: [G: 'single-outdated'], [Module] } |
| tla-esModule tla-esModule-esm-reexport |
compilation error | compilation error |
| tla-esm | { [__esModule], default: [G], named: [G], [Module] } |
{ [__esModule], default: [G], named: [G], [Module] } |
| tla-esm-esm-reexport | { [__esModule], named: [G], [Module] } |
{ [__esModule], named: [G], [Module] } |
x = require(); x.defaultx = require(); x.default |
rspack webpack |
|---|---|
| default-export default-export-esModule default-export-esm default-export-runtime named-and-default-export named-and-default-export-babel-getter named-and-default-export-duplicate named-and-default-export-esModule named-and-default-export-esModule-duplicate named-and-default-export-esModule-reexport named-and-default-export-esm named-and-default-export-getter named-and-default-export-getter-esModule named-and-default-export-inherited named-and-default-export-live named-and-default-export-non-enumerable named-and-default-export-non-enumerable-inherited named-and-default-export-reexport named-and-default-export-runtime named-and-default-export-runtime-esModule require-circular require-circular-self require-conditional-execution single-object-with-default-export single-object-with-default-export-duplicate |
'default' |
| default-export-esModule-esm-reexport named-and-default-export-esModule-esm-reexport named-and-default-export-esm-esm-reexport named-and-default-export-esm-reexport named-export named-export-esModule named-export-esm named-export-non-enumerable named-export-runtime named-export-runtime-esModule order order-esModule order-esm single-class-export single-empty-string-export single-function-export single-object-export single-promise-object-export single-promise-object-with-default-export single-promise-string-export single-string-export single-string-export-defined single-string-export-duplicate single-string-export-esm-reexport single-string-export-getter single-string-export-live single-string-export-reexport tla-esm tla-esm-esm-reexport |
undefined |
| named-and-null-default-export named-and-null-default-export-esModule named-and-null-default-export-non-enumerable named-and-null-default-export-runtime named-and-null-default-export-runtime-esModule single-object-with-null-default-export |
null |
| single-null-export | type error |
| tla-esModule tla-esModule-esm-reexport |
compilation error |
x = require(); ident(x).defaultx = require(); ident(x).default |
rspack webpack |
|---|---|
| default-export default-export-esModule default-export-esm default-export-runtime named-and-default-export named-and-default-export-babel-getter named-and-default-export-duplicate named-and-default-export-esModule named-and-default-export-esModule-duplicate named-and-default-export-esModule-reexport named-and-default-export-esm named-and-default-export-getter named-and-default-export-getter-esModule named-and-default-export-inherited named-and-default-export-live named-and-default-export-non-enumerable named-and-default-export-non-enumerable-inherited named-and-default-export-reexport named-and-default-export-runtime named-and-default-export-runtime-esModule require-circular require-circular-self require-conditional-execution single-object-with-default-export single-object-with-default-export-duplicate |
'default' |
| default-export-esModule-esm-reexport named-and-default-export-esModule-esm-reexport named-and-default-export-esm-esm-reexport named-and-default-export-esm-reexport named-export named-export-esModule named-export-esm named-export-non-enumerable named-export-runtime named-export-runtime-esModule order order-esModule order-esm single-class-export single-empty-string-export single-function-export single-null-export single-object-export single-promise-object-export single-promise-object-with-default-export single-promise-string-export single-string-export single-string-export-defined single-string-export-duplicate single-string-export-esm-reexport single-string-export-getter single-string-export-live single-string-export-reexport tla-esm tla-esm-esm-reexport |
undefined |
| named-and-null-default-export named-and-null-default-export-esModule named-and-null-default-export-non-enumerable named-and-null-default-export-runtime named-and-null-default-export-runtime-esModule single-object-with-null-default-export |
null |
| tla-esModule tla-esModule-esm-reexport |
compilation error |
{ named } = require(){ named } = require() |
rspack webpack |
|---|---|
| default-export default-export-esModule default-export-esModule-esm-reexport default-export-esm default-export-runtime order order-esModule order-esm single-class-export single-empty-string-export single-function-export single-promise-object-export single-promise-object-with-default-export single-promise-string-export single-string-export single-string-export-defined single-string-export-duplicate single-string-export-esm-reexport single-string-export-getter single-string-export-live single-string-export-reexport tla-esm tla-esm-esm-reexport |
undefined |
| named-and-default-export named-and-default-export-babel-getter named-and-default-export-duplicate named-and-default-export-esModule named-and-default-export-esModule-duplicate named-and-default-export-esModule-esm-reexport named-and-default-export-esModule-reexport named-and-default-export-esm named-and-default-export-esm-esm-reexport named-and-default-export-esm-reexport named-and-default-export-getter named-and-default-export-getter-esModule named-and-default-export-inherited named-and-default-export-non-enumerable named-and-default-export-non-enumerable-inherited named-and-default-export-reexport named-and-default-export-runtime named-and-default-export-runtime-esModule named-and-null-default-export named-and-null-default-export-esModule named-and-null-default-export-non-enumerable named-and-null-default-export-runtime named-and-null-default-export-runtime-esModule named-export named-export-esModule named-export-esm named-export-non-enumerable named-export-runtime named-export-runtime-esModule require-circular require-circular-self require-conditional-execution single-object-export single-object-with-default-export single-object-with-default-export-duplicate single-object-with-null-default-export |
'named' |
| named-and-default-export-live | 'named-outdated' |
| single-null-export | type error |
| tla-esModule tla-esModule-esm-reexport |
compilation error |
x = require(); x.namedx = require(); x.named |
rspack webpack |
|---|---|
| default-export default-export-esModule default-export-esModule-esm-reexport default-export-esm default-export-runtime order order-esModule order-esm single-class-export single-empty-string-export single-function-export single-promise-object-export single-promise-object-with-default-export single-promise-string-export single-string-export single-string-export-defined single-string-export-duplicate single-string-export-esm-reexport single-string-export-getter single-string-export-live single-string-export-reexport tla-esm tla-esm-esm-reexport |
undefined |
| named-and-default-export named-and-default-export-babel-getter named-and-default-export-duplicate named-and-default-export-esModule named-and-default-export-esModule-duplicate named-and-default-export-esModule-esm-reexport named-and-default-export-esModule-reexport named-and-default-export-esm named-and-default-export-esm-esm-reexport named-and-default-export-esm-reexport named-and-default-export-getter named-and-default-export-getter-esModule named-and-default-export-inherited named-and-default-export-live named-and-default-export-non-enumerable named-and-default-export-non-enumerable-inherited named-and-default-export-reexport named-and-default-export-runtime named-and-default-export-runtime-esModule named-and-null-default-export named-and-null-default-export-esModule named-and-null-default-export-non-enumerable named-and-null-default-export-runtime named-and-null-default-export-runtime-esModule named-export named-export-esModule named-export-esm named-export-non-enumerable named-export-runtime named-export-runtime-esModule require-circular require-circular-self require-conditional-execution single-object-export single-object-with-default-export single-object-with-default-export-duplicate single-object-with-null-default-export |
'named' |
| single-null-export | type error |
| tla-esModule tla-esModule-esm-reexport |
compilation error |
x = require(); ident(x).namedx = require(); ident(x).named |
rspack webpack |
|---|---|
| default-export default-export-esModule default-export-esModule-esm-reexport default-export-esm default-export-runtime order order-esModule order-esm single-class-export single-empty-string-export single-function-export single-null-export single-promise-object-export single-promise-object-with-default-export single-promise-string-export single-string-export single-string-export-defined single-string-export-duplicate single-string-export-esm-reexport single-string-export-getter single-string-export-live single-string-export-reexport tla-esm tla-esm-esm-reexport |
undefined |
| named-and-default-export named-and-default-export-babel-getter named-and-default-export-duplicate named-and-default-export-esModule named-and-default-export-esModule-duplicate named-and-default-export-esModule-esm-reexport named-and-default-export-esModule-reexport named-and-default-export-esm named-and-default-export-esm-esm-reexport named-and-default-export-esm-reexport named-and-default-export-getter named-and-default-export-getter-esModule named-and-default-export-inherited named-and-default-export-live named-and-default-export-non-enumerable named-and-default-export-non-enumerable-inherited named-and-default-export-reexport named-and-default-export-runtime named-and-default-export-runtime-esModule named-and-null-default-export named-and-null-default-export-esModule named-and-null-default-export-non-enumerable named-and-null-default-export-runtime named-and-null-default-export-runtime-esModule named-export named-export-esModule named-export-esm named-export-non-enumerable named-export-runtime named-export-runtime-esModule require-circular require-circular-self require-conditional-execution single-object-export single-object-with-default-export single-object-with-default-export-duplicate single-object-with-null-default-export |
'named' |
| tla-esModule tla-esModule-esm-reexport |
compilation error |
{ __esModule } = require(){ __esModule } = require() |
rspack webpack |
|---|---|
| default-export default-export-runtime named-and-default-export named-and-default-export-duplicate named-and-default-export-getter named-and-default-export-inherited named-and-default-export-live named-and-default-export-non-enumerable named-and-default-export-non-enumerable-inherited named-and-default-export-reexport named-and-default-export-runtime named-and-null-default-export named-and-null-default-export-non-enumerable named-and-null-default-export-runtime named-export named-export-non-enumerable named-export-runtime order require-circular require-circular-self require-conditional-execution single-class-export single-empty-string-export single-function-export single-object-export single-object-with-default-export single-object-with-default-export-duplicate single-object-with-null-default-export single-promise-object-export single-promise-object-with-default-export single-promise-string-export single-string-export single-string-export-defined single-string-export-duplicate single-string-export-getter single-string-export-live single-string-export-reexport tla-esm tla-esm-esm-reexport |
undefined |
| default-export-esModule default-export-esModule-esm-reexport default-export-esm named-and-default-export-babel-getter named-and-default-export-esModule named-and-default-export-esModule-duplicate named-and-default-export-esModule-esm-reexport named-and-default-export-esModule-reexport named-and-default-export-esm named-and-default-export-esm-esm-reexport named-and-default-export-esm-reexport named-and-default-export-getter-esModule named-and-default-export-runtime-esModule named-and-null-default-export-esModule named-and-null-default-export-runtime-esModule named-export-esModule named-export-esm named-export-runtime-esModule order-esModule order-esm single-string-export-esm-reexport |
true |
| single-null-export | type error |
| tla-esModule tla-esModule-esm-reexport |
compilation error |
x = require(); x.__esModulex = require(); x.__esModule |
rspack webpack |
|---|---|
| default-export default-export-runtime named-and-default-export named-and-default-export-duplicate named-and-default-export-getter named-and-default-export-inherited named-and-default-export-live named-and-default-export-non-enumerable named-and-default-export-non-enumerable-inherited named-and-default-export-reexport named-and-default-export-runtime named-and-null-default-export named-and-null-default-export-non-enumerable named-and-null-default-export-runtime named-export named-export-non-enumerable named-export-runtime order require-circular require-circular-self require-conditional-execution single-class-export single-empty-string-export single-function-export single-object-export single-object-with-default-export single-object-with-default-export-duplicate single-object-with-null-default-export single-promise-object-export single-promise-object-with-default-export single-promise-string-export single-string-export single-string-export-defined single-string-export-duplicate single-string-export-getter single-string-export-live single-string-export-reexport tla-esm tla-esm-esm-reexport |
undefined |
| default-export-esModule default-export-esModule-esm-reexport default-export-esm named-and-default-export-babel-getter named-and-default-export-esModule named-and-default-export-esModule-duplicate named-and-default-export-esModule-esm-reexport named-and-default-export-esModule-reexport named-and-default-export-esm named-and-default-export-esm-esm-reexport named-and-default-export-esm-reexport named-and-default-export-getter-esModule named-and-default-export-runtime-esModule named-and-null-default-export-esModule named-and-null-default-export-runtime-esModule named-export-esModule named-export-esm named-export-runtime-esModule order-esModule order-esm single-string-export-esm-reexport |
true |
| single-null-export | type error |
| tla-esModule tla-esModule-esm-reexport |
compilation error |
x = require(); ident(x).__esModulex = require(); ident(x).__esModule |
rspack webpack |
|---|---|
| default-export default-export-runtime named-and-default-export named-and-default-export-duplicate named-and-default-export-getter named-and-default-export-inherited named-and-default-export-live named-and-default-export-non-enumerable named-and-default-export-non-enumerable-inherited named-and-default-export-reexport named-and-default-export-runtime named-and-null-default-export named-and-null-default-export-non-enumerable named-and-null-default-export-runtime named-export named-export-non-enumerable named-export-runtime order require-circular require-circular-self require-conditional-execution single-class-export single-empty-string-export single-function-export single-null-export single-object-export single-object-with-default-export single-object-with-default-export-duplicate single-object-with-null-default-export single-promise-object-export single-promise-object-with-default-export single-promise-string-export single-string-export single-string-export-defined single-string-export-duplicate single-string-export-getter single-string-export-live single-string-export-reexport tla-esm tla-esm-esm-reexport |
undefined |
| default-export-esModule default-export-esModule-esm-reexport default-export-esm named-and-default-export-babel-getter named-and-default-export-esModule named-and-default-export-esModule-duplicate named-and-default-export-esModule-esm-reexport named-and-default-export-esModule-reexport named-and-default-export-esm named-and-default-export-esm-esm-reexport named-and-default-export-esm-reexport named-and-default-export-getter-esModule named-and-default-export-runtime-esModule named-and-null-default-export-esModule named-and-null-default-export-runtime-esModule named-export-esModule named-export-esm named-export-runtime-esModule order-esModule order-esm single-string-export-esm-reexport |
true |
| tla-esModule tla-esModule-esm-reexport |
compilation error |
x = require()x = require() |
rspack webpack |
|---|---|
| default-export default-export-runtime |
{ default } |
| default-export-esModule | { [__esModule], default } |
| default-export-esModule-esm-reexport | { [__esModule], [Module] } |
| default-export-esm | { [__esModule], default: [G], [Module] } |
| named-and-default-export named-and-default-export-duplicate named-and-default-export-inherited named-and-default-export-live named-and-default-export-reexport named-and-default-export-runtime single-object-with-default-export single-object-with-default-export-duplicate |
{ named, default } |
| named-and-default-export-babel-getter | { [__esModule], named: [G], default: [G] } |
| named-and-default-export-esModule named-and-default-export-esModule-duplicate named-and-default-export-esModule-reexport named-and-default-export-runtime-esModule |
{ [__esModule], named, default } |
| named-and-default-export-esModule-esm-reexport named-and-default-export-esm-esm-reexport named-and-default-export-esm-reexport named-export-esm |
{ [__esModule], named: [G], [Module] } |
| named-and-default-export-esm | { [__esModule], default: [G], named: [G], [Module] } |
| named-and-default-export-getter | { [named]: [G], [default]: [G] } |
| named-and-default-export-getter-esModule | { [__esModule]: [G: true], [named]: [G], [default]: [G] } |
| named-and-default-export-non-enumerable named-and-default-export-non-enumerable-inherited |
{ [named], [default] } |
| named-and-null-default-export named-and-null-default-export-runtime single-object-with-null-default-export |
{ named, default: null } |
| named-and-null-default-export-esModule named-and-null-default-export-runtime-esModule |
{ [__esModule], named, default: null } |
| named-and-null-default-export-non-enumerable | { [named], [default]: null } |
| named-export named-export-runtime single-object-export |
{ named } |
| named-export-esModule named-export-runtime-esModule |
{ [__esModule], named } |
| named-export-non-enumerable | { [named] } |
| order | { b, a, c } |
| order-esModule | { [__esModule], b, a, c } |
| order-esm | { [__esModule], a: [G: 'a'], b: [G: 'b'], c: [G: 'c'], [Module] } |
| require-circular require-circular-self require-conditional-execution |
{ default, named } |
| single-class-export | <ref *1> { [class TheClass] [length]: 0, [name]: 'TheClass', [prototype]: { [constructor]: [Circular *1] } } |
| single-empty-string-export | '' |
| single-function-export | <ref *1> { [Function: theFunction] [length]: 0, [name]: 'theFunction', [arguments]: null, [caller]: null, [prototype]: { [constructor]: [Circular *1] } } |
| single-null-export | null |
| single-promise-object-export | Promise { { named } } |
| single-promise-object-with-default-export | Promise { { named, default } } |
| single-promise-string-export | Promise { 'single' } |
| single-string-export single-string-export-defined single-string-export-duplicate single-string-export-getter single-string-export-reexport |
'single' |
| single-string-export-esm-reexport | { '0': [G: 's'], '1': [G: 'i'], '2': [G: 'n'], '3': [G: 'g'], '4': [G: 'l'], '5': [G: 'e'], [__esModule], [Module] } |
| single-string-export-live | 'single-outdated' |
| tla-esModule tla-esModule-esm-reexport |
compilation error |
| tla-esm | Promise { { [__esModule], default: [G], named: [G], [Module] }, [Symbol(webpack exports)]: { [__esModule], default: [G], named: [G], [Module] }, [Symbol(webpack queues)]: { [Function (anonymous)] [length]: 1, [name]: '' } } |
| tla-esm-esm-reexport | Promise { { [__esModule], named: [G], [Module] }, [Symbol(webpack exports)]: { [__esModule], named: [G], [Module] }, [Symbol(webpack queues)]: { [Function (anonymous)] [length]: 1, [name]: '' } } |
await import() === require()await import() === require() |
rspack webpack |
|---|---|
| default-export default-export-runtime named-and-default-export named-and-default-export-duplicate named-and-default-export-getter named-and-default-export-inherited named-and-default-export-live named-and-default-export-non-enumerable named-and-default-export-non-enumerable-inherited named-and-default-export-reexport named-and-default-export-runtime named-and-null-default-export named-and-null-default-export-non-enumerable named-and-null-default-export-runtime named-export named-export-non-enumerable named-export-runtime order require-circular require-circular-self require-conditional-execution single-class-export single-empty-string-export single-function-export single-null-export single-object-export single-object-with-default-export single-object-with-default-export-duplicate single-object-with-null-default-export single-promise-object-export single-promise-object-with-default-export single-promise-string-export single-string-export single-string-export-defined single-string-export-duplicate single-string-export-getter single-string-export-live single-string-export-reexport tla-esm tla-esm-esm-reexport |
false |
| default-export-esModule default-export-esModule-esm-reexport default-export-esm named-and-default-export-babel-getter named-and-default-export-esModule named-and-default-export-esModule-duplicate named-and-default-export-esModule-esm-reexport named-and-default-export-esModule-reexport named-and-default-export-esm named-and-default-export-esm-esm-reexport named-and-default-export-esm-reexport named-and-default-export-getter-esModule named-and-default-export-runtime-esModule named-and-null-default-export-esModule named-and-null-default-export-runtime-esModule named-export-esModule named-export-esm named-export-runtime-esModule order-esModule order-esm single-string-export-esm-reexport |
true |
| tla-esModule tla-esModule-esm-reexport |
compilation error |
import * as x; x === await import()import * as x; x === await import() |
rspack | webpack |
|---|---|---|
| default-export default-export-esModule default-export-runtime named-and-default-export named-and-default-export-babel-getter named-and-default-export-duplicate named-and-default-export-esModule named-and-default-export-esModule-duplicate named-and-default-export-esModule-reexport named-and-default-export-getter named-and-default-export-getter-esModule named-and-default-export-inherited named-and-default-export-live named-and-default-export-non-enumerable named-and-default-export-non-enumerable-inherited named-and-default-export-reexport named-and-default-export-runtime named-and-default-export-runtime-esModule named-and-null-default-export named-and-null-default-export-esModule named-and-null-default-export-non-enumerable named-and-null-default-export-runtime named-and-null-default-export-runtime-esModule named-export named-export-esModule named-export-non-enumerable named-export-runtime named-export-runtime-esModule order order-esModule require-circular require-circular-self require-conditional-execution single-class-export single-empty-string-export single-function-export single-null-export single-object-export single-object-with-default-export single-object-with-default-export-duplicate single-object-with-null-default-export single-promise-object-export single-promise-object-with-default-export single-promise-string-export single-string-export single-string-export-defined single-string-export-duplicate single-string-export-getter single-string-export-live single-string-export-reexport |
false |
false |
| default-export-esModule-esm-reexport default-export-esm named-and-default-export-esModule-esm-reexport named-and-default-export-esm named-and-default-export-esm-esm-reexport named-and-default-export-esm-reexport named-export-esm order-esm |
false |
true |
| single-string-export-esm-reexport tla-esm tla-esm-esm-reexport |
true |
true |
| tla-esModule tla-esModule-esm-reexport |
compilation error | compilation error |