Commit afc24cb
committed
refactor: split esm runtime renderers by mode
1 parent 9e4c583 commit afc24cb
90 files changed
Lines changed: 832 additions & 496 deletions
File tree
- crates
- rspack_core/src
- rspack_plugin_esm_library/src
- render/runtime_mode
- tests/rspack-test/esmOutputCases
- dynamic-import
- basic/__snapshots__
- runtimeModeSnapshot
- dyn-import-conflict-exports/__snapshots__
- runtimeModeSnapshot
- dyn-import-mixed-chunks/__snapshots__
- runtimeModeSnapshot
- dyn-import-module-external-namespace-default-named-collision/__snapshots__
- runtimeModeSnapshot
- dyn-import-multi-module-duplicate-external/__snapshots__
- runtimeModeSnapshot
- dyn-import-multi-module-namespace-named-external/__snapshots__
- runtimeModeSnapshot
- dyn-import-three-modules/__snapshots__
- runtimeModeSnapshot
- dyn-import-treeshake-real-conflict/__snapshots__
- runtimeModeSnapshot
- magic-comment/__snapshots__
- runtimeModeSnapshot
- externals
- node-commonjs-wrapper-namespace-reexport/__snapshots__
- runtimeModeSnapshot
- reexport-star-as-namespace-via-module-with-own-export/__snapshots__
- runtimeModeSnapshot
- namespace
- basic-capture/__snapshots__
- runtimeModeSnapshot
- default-only-object/__snapshots__
- runtimeModeSnapshot
- export-namespace-as/__snapshots__
- runtimeModeSnapshot
- export-self-as-namespace/__snapshots__
- runtimeModeSnapshot
- frozen-object/__snapshots__
- import-export-namespace-as/__snapshots__
- runtimeModeSnapshot
- import-export-self-as-namespace/__snapshots__
- runtimeModeSnapshot
- import-of-export-namespace-as-capture/__snapshots__
- runtimeModeSnapshot
- import-of-export-star-as/__snapshots__
- runtimeModeSnapshot
- import-of-re-export-star-capture/__snapshots__
- runtimeModeSnapshot
- missing-export-capture/__snapshots__
- runtimeModeSnapshot
- no-treeshake-object/__snapshots__
- runtimeModeSnapshot
- null-prototype/__snapshots__
- optional-chaining/__snapshots__
- runtimeModeSnapshot
- re-export-named-missing-export-capture/__snapshots__
- runtimeModeSnapshot
- re-export-namespace-missing-export-capture/__snapshots__
- runtimeModeSnapshot
- re-export-self-as-namespace/__snapshots__
- runtimeModeSnapshot
- re-export-self-import-export-as-namespace/__snapshots__
- runtimeModeSnapshot
- re-export-star-missing-export-capture/__snapshots__
- runtimeModeSnapshot
- re-export-star/__snapshots__
- runtimeModeSnapshot
- reexport-self-cycle/__snapshots__
- runtimeModeSnapshot
- self-import-cycle/__snapshots__
- runtimeModeSnapshot
- sorted-keys/__snapshots__
- star-export-as-namespace/__snapshots__
- runtimeModeSnapshot
- tostring-inlined-namespace/__snapshots__
- runtimeModeSnapshot
- tostring-static-resolution/__snapshots__
- runtimeModeSnapshot
- preserve-modules/namespace-object-bare-import/__snapshots__
- runtimeModeSnapshot
- re-exports
- deep-re-export-external/__snapshots__
- runtimeModeSnapshot
- default-namespace-external/__snapshots__
- runtimeModeSnapshot
- default-re-export-external/__snapshots__
- runtimeModeSnapshot
- string-export-star-as-namespace/__snapshots__
- runtimeModeSnapshot
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1784 | 1784 | | |
1785 | 1785 | | |
1786 | 1786 | | |
1787 | | - | |
| 1787 | + | |
1788 | 1788 | | |
1789 | 1789 | | |
1790 | 1790 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
856 | 856 | | |
857 | 857 | | |
858 | 858 | | |
859 | | - | |
| 859 | + | |
860 | 860 | | |
861 | 861 | | |
862 | 862 | | |
| |||
0 commit comments